Skip to content

Commit

Permalink
Fix IE JS error in options-general.php. Props ocean90. Fixes #15680
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.automattic.com/wordpress/trunk@16736 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  • Loading branch information
scribu committed Dec 5, 2010
1 parent 2c96912 commit 86e27c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wp-admin/options-general.php
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -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); } );
}); });
}); });
Expand Down

0 comments on commit 86e27c4

Please sign in to comment.