WordPress/wp-admin/js/comment.js

13 lines
329 B
JavaScript

addLoadEvent( function() {
add_postbox_toggles('comment');
jQuery('#timestampdiv').css('display', 'none');
jQuery('.edit-timestamp').click(function () {
if (jQuery('#timestampdiv').is(":hidden")) {
jQuery('#timestampdiv').slideDown("normal");
} else {
jQuery('#timestampdiv').hide();
}
return false;
});
});