mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
CSP - extract all other inline JavaScripts (#6528)
* wizard page inline js * print topic inline js * drop JS for preventing double submission this is the default behavior with Rails' UJS `disable_with` helper * omniauth complete redirect JS * account activate inline js
This commit is contained in:
@@ -17,12 +17,6 @@
|
||||
|
||||
<body class='wizard'>
|
||||
<div id='wizard-main'></div>
|
||||
|
||||
<script>
|
||||
(function() {
|
||||
var wizard = require('wizard/wizard').default.create();
|
||||
wizard.start();
|
||||
})();
|
||||
</script>
|
||||
<%= preload_script 'wizard-start' %>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user