summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/head.inc
diff options
context:
space:
mode:
Diffstat (limited to 'src/usr/local/www/head.inc')
-rwxr-xr-xsrc/usr/local/www/head.inc8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/usr/local/www/head.inc b/src/usr/local/www/head.inc
index 9fb5e08..944bedb 100755
--- a/src/usr/local/www/head.inc
+++ b/src/usr/local/www/head.inc
@@ -86,7 +86,11 @@ if (isset($config['system']['webgui']['webguicss'])) {
<link rel="stylesheet" href="font-awesome/css/font-awesome.min.css">
<link rel="stylesheet" href="sortable/sortable-theme-bootstrap.css">
<title><?=$tabtitle?></title>
- <script>var events = events || [];</script>
+ <script type="text/javascript">
+ //<![CDATA[
+ var events = events || [];
+ //]]>
+ </script>
</head>
<?php
@@ -562,7 +566,7 @@ if (are_notices_pending()):?>
</div>
</div>
-<script>
+<script type="text/javascript">
//<![CDATA[
events.push(function(){
$('#clearallnotices').click(function() {
OpenPOWER on IntegriCloud