소스 검색

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

jangliss 20 년 전
부모
커밋
13d88721ce
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  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() {
         }
     }
 }
-?>
+?>