WordPress.org

Make WordPress Core

Changeset 25186


Ignore:
Timestamp:
08/30/2013 05:10:11 PM (5 years ago)
Author:
azaozz
Message:

Fix folding/unfolding of the admin menu on new installs, props SergeyBiryukov, fixes #24921 for 3.6.1.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/js/common.js

    r25141 r25186  
    186186                body.removeClass('auto-fold').removeClass('folded');
    187187                setUserSetting('unfold', 1);
    188                 deleteUserSetting('mfold');
     188                setUserSetting('mfold', 'o');
    189189            } else {
    190190                body.addClass('auto-fold');
    191                 deleteUserSetting('unfold');
     191                setUserSetting('unfold', 0);
    192192            }
    193193        } else {
    194194            if ( body.hasClass('folded') ) {
    195195                body.removeClass('folded');
    196                 deleteUserSetting('mfold');
     196                setUserSetting('mfold', 'o');
    197197            } else {
    198198                body.addClass('folded');
Note: See TracChangeset for help on using the changeset viewer.