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:
parent
50ecbab7df
commit
b307377ea1
@ -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 ) {
|
||||
|
Loading…
Reference in New Issue
Block a user