Browse Source

HTML Validation tidy up. Script tags require a "type".

jangliss 20 years ago
parent
commit
13d88721ce
1 changed files with 2 additions and 2 deletions
  1. 2 2
      plugins/newmail/setup.php

+ 2 - 2
plugins/newmail/setup.php

@@ -277,7 +277,7 @@ function newmail_plugin() {
         // will play the sound as follows:
 
         if ($newmail_changetitle) {
-            echo "<script language=\"javascript\">\n" .
+            echo "<script language=\"javascript\" type=\"text/javascript\">\n" .
                 "function ChangeTitleLoad() {\n";
             echo 'window.parent.document.title = "' .
                 sprintf(ngettext("%s New Message","%s New Messages",$totalNew), $totalNew) .
@@ -315,4 +315,4 @@ function newmail_plugin() {
         }
     }
 }
-?>
+?>