mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 20:30:23 +00:00
Move welcome panel link to a 'Show on screen' checkbox. see #11651.
git-svn-id: https://develop.svn.wordpress.org/trunk@19014 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -14,11 +14,12 @@ jQuery(document).ready( function($) {
|
||||
$('.welcome-panel-close', welcomePanel).click( function() {
|
||||
welcomePanel.addClass('hidden');
|
||||
updateWelcomePanel( 0 );
|
||||
$('#wp_welcome_panel-hide').prop('checked', false);
|
||||
});
|
||||
|
||||
$('.welcome-panel-open', '#adv-settings').click( function() {
|
||||
welcomePanel.removeClass('hidden');
|
||||
updateWelcomePanel( 1 );
|
||||
$('#wp_welcome_panel-hide').click( function() {
|
||||
welcomePanel.toggleClass('hidden', ! this.checked );
|
||||
updateWelcomePanel( this.checked ? 1 : 0 );
|
||||
});
|
||||
|
||||
// These widgets are sometimes populated via ajax
|
||||
|
||||
Reference in New Issue
Block a user