mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 01:27:36 +01:00
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:
parent
d4cefda518
commit
60cde1b789
@ -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