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:
Kyle Zhao
2018-10-25 09:52:01 -04:00
committed by GitHub
parent 56e0f47bcd
commit a6eca28ec6
14 changed files with 71 additions and 63 deletions

View File

@@ -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>