mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-10-04 14:47:02 +00:00
Responsive columns on the dashboard and write screens, first run, see #20015
git-svn-id: https://develop.svn.wordpress.org/trunk@20272 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -351,7 +351,7 @@ $(document).ready( function() {
|
||||
});
|
||||
}
|
||||
|
||||
// auto-fold the menu when screen is under 800px
|
||||
// auto-fold the menu when screen is under 900px
|
||||
$(window).bind('resize.autofold', function(){
|
||||
if ( getUserSetting('mfold') == 'f' )
|
||||
return;
|
||||
@@ -359,7 +359,7 @@ $(document).ready( function() {
|
||||
var width = $(window).width();
|
||||
|
||||
// fold admin menu
|
||||
if ( width <= 800 ) {
|
||||
if ( width <= 900 ) {
|
||||
if ( !folded ) {
|
||||
$(document.body).addClass('folded');
|
||||
folded = true;
|
||||
|
||||
Reference in New Issue
Block a user