mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-12 21:54:17 +01:00
21 lines
563 B
JavaScript
21 lines
563 B
JavaScript
|
jQuery(document).ready( function($) {
|
||
|
$('#show-settings-link').click(function () {
|
||
|
$('#edit-settings').slideDown('normal', function(){
|
||
|
$('#show-settings-link').hide();
|
||
|
$('#hide-settings-link').show();
|
||
|
|
||
|
});
|
||
|
$('#show-settings').addClass('show-settings-opened');
|
||
|
return false;
|
||
|
});
|
||
|
|
||
|
$('#hide-settings-link').click(function () {
|
||
|
$('#edit-settings').slideUp('normal', function(){
|
||
|
$('#hide-settings-link').hide();
|
||
|
$('#show-settings-link').show();
|
||
|
$('#show-settings').removeClass('show-settings-opened');
|
||
|
});
|
||
|
|
||
|
return false;
|
||
|
});
|
||
|
});
|