WordPress/wp-admin/js/comment.js
ryan e44e1b7202 Validation fixes
git-svn-id: http://svn.automattic.com/wordpress/trunk@6961 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-21 22:20:19 +00:00

15 lines
316 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();
}
});
});