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

git-svn-id: https://develop.svn.wordpress.org/trunk@6207 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Mark Jaquith 2007-10-09 04:13:36 +00:00
parent 50ecbab7df
commit b307377ea1
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 ) {