Fix HTML-compliance here and there.
[squirrelmail.git] / include / options / display.php
index 069e53c548a8a90fc48a2c3dc8173a83598270c7..7ccb61101aa553d618aa3568cac12c6bc0167012 100644 (file)
@@ -100,7 +100,7 @@ function load_optpage_data_display() {
     );
 
     $js_autodetect_script =
-        "<SCRIPT LANGUAGE=\"JavaScript\"><!--\n".
+        "<SCRIPT LANGUAGE=\"JavaScript\" TYPE=\"text/javascript\"><!--\n".
            "document.forms[0].new_js_autodetect_results.value = '" . SMPREF_JS_ON . "';\n".
         "// --></SCRIPT>\n";
     $js_autodetect_results = SMPREF_JS_OFF;