Fix IE JS error in options-general.php. Props ocean90. Fixes #15680
git-svn-id: http://svn.automattic.com/wordpress/trunk@16736 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
2c96912612
commit
86e27c44b9
|
@ -48,7 +48,7 @@ function add_js() {
|
||||||
format.siblings('img').css('visibility','visible');
|
format.siblings('img').css('visibility','visible');
|
||||||
$.post(ajaxurl, {
|
$.post(ajaxurl, {
|
||||||
action: 'date_format_custom' == format.attr('name') ? 'date_format' : 'time_format',
|
action: 'date_format_custom' == format.attr('name') ? 'date_format' : 'time_format',
|
||||||
date : format.val(),
|
date : format.val()
|
||||||
}, function(d) { format.siblings('img').css('visibility','hidden'); format.siblings('.example').text(d); } );
|
}, function(d) { format.siblings('img').css('visibility','hidden'); format.siblings('.example').text(d); } );
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue