mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-02 16:59:35 +01:00
e65d6369f2
git-svn-id: http://svn.automattic.com/wordpress/trunk@7325 1a063a9b-81f0-0310-95a4-ce76da25c4cd
16 lines
377 B
JavaScript
16 lines
377 B
JavaScript
jQuery(document).ready( function() {
|
|
add_postbox_toggles('page');
|
|
make_slugedit_clickable();
|
|
|
|
// hide advanced slug field
|
|
jQuery('#pageslugdiv').hide();
|
|
|
|
jQuery('.edit-timestamp').click(function () {
|
|
if (jQuery('#timestampdiv').is(":hidden")) {
|
|
jQuery('#timestampdiv').slideDown("normal");
|
|
} else {
|
|
jQuery('#timestampdiv').hide();
|
|
}
|
|
return false;
|
|
});
|
|
}); |