summaryrefslogtreecommitdiffstats
path: root/extensions/Push/template
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/Push/template')
-rw-r--r--extensions/Push/template/en/default/pages/push_config.html.tmpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/extensions/Push/template/en/default/pages/push_config.html.tmpl b/extensions/Push/template/en/default/pages/push_config.html.tmpl
index 3783ecad6..dd5507bbc 100644
--- a/extensions/Push/template/en/default/pages/push_config.html.tmpl
+++ b/extensions/Push/template/en/default/pages/push_config.html.tmpl
@@ -12,7 +12,7 @@
style_urls = [ 'extensions/Push/web/admin.css' ]
%]
-<script>
+<script [% script_nonce FILTER none %]>
var push_defaults = new Array();
[% FOREACH option = push.config.options %]
[% IF option.name != 'enabled' && option.default != '' %]
@@ -127,7 +127,7 @@ var push_defaults = new Array();
</tr>
[% END %]
[% IF name != 'global' %]
- <script>
+ <script [% script_nonce FILTER none %]>
var is_enabled = document.getElementById('[% name FILTER js %]_enabled').value == 'Enabled';
toggle_options(is_enabled, '[% name FILTER js %]');
</script>