WordPress/wp-admin/js/page.js

16 lines
329 B
JavaScript

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