Spiegel von
https://github.com/paviliondev/discourse-custom-wizard.git
synchronisiert 2024-11-22 09:20:29 +01:00
preload custom wizard start script
Dieser Commit ist enthalten in:
Ursprung
0ea0524dcf
Commit
50593dc298
3 geänderte Dateien mit 6 neuen und 6 gelöschten Zeilen
4
assets/javascripts/custom-wizard-start.js
Normale Datei
4
assets/javascripts/custom-wizard-start.js
Normale Datei
|
@ -0,0 +1,4 @@
|
|||
(function() {
|
||||
var wizard = require('discourse/plugins/discourse-custom-wizard/wizard/custom-wizard').default.create();
|
||||
wizard.start();
|
||||
})();
|
|
@ -17,6 +17,7 @@ if Rails.env.production?
|
|||
wizard-custom-lib.js
|
||||
wizard-custom.js
|
||||
wizard-plugin.js
|
||||
wizard-start.js
|
||||
stylesheets/wizard/wizard_custom.scss
|
||||
stylesheets/wizard/wizard_composer.scss
|
||||
stylesheets/wizard/wizard_variables.scss
|
||||
|
|
|
@ -39,11 +39,6 @@
|
|||
<%= raw theme_lookup("body_tag") %>
|
||||
<%- end %>
|
||||
|
||||
<script>
|
||||
(function() {
|
||||
var wizard = require('discourse/plugins/discourse-custom-wizard/wizard/custom-wizard').default.create();
|
||||
wizard.start();
|
||||
})();
|
||||
</script>
|
||||
<%= preload_script 'custom-wizard-start' %>
|
||||
</body>
|
||||
</html>
|
||||
|
|
Laden …
In neuem Issue referenzieren