Make WordPress Core

Changeset 26785


Ignore:
Timestamp:
12/07/2013 06:45:37 PM (11 years ago)
Author:
azaozz
Message:

Fake a "non-responsive" window width for IE < 9 when folding/unfolding the menu (old IE doesn't support @media), fixes #26458.

File:
1 edited

Legend:

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

    r26743 r26785  
    189189            respWidth = Math.max( window.innerWidth, document.documentElement.clientWidth );
    190190        } else {
    191             // Exclude IE < 9, it doesn't support @media CSS rules
    192             return;
     191            // IE < 9 doesn't support @media CSS rules
     192            respWidth = 901;
    193193        }
    194194
Note: See TracChangeset for help on using the changeset viewer.