use type="text/javascript", not lang="javascript". Props dsiemon. fixes #5168

git-svn-id: http://svn.automattic.com/wordpress/trunk@6207 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
markjaquith 2007-10-09 04:13:36 +00:00
parent d4cefda518
commit 60cde1b789
1 changed files with 1 additions and 1 deletions

View File

@ -630,7 +630,7 @@ function wp_widget_categories($args, $number = 1) {
wp_dropdown_categories($cat_args . '&show_option_none= ' . __('Select Category'));
?>
<script lang='javascript'><!--
<script type='text/javascript'><!--
var dropdown = document.getElementById("cat");
function onCatChange() {
if ( dropdown.options[dropdown.selectedIndex].value > 0 ) {