Make WordPress Core

Changeset 30804


Ignore:
Timestamp:
12/10/2014 01:30:24 PM (12 years ago)
Author:
iandstewart
Message:

Twenty Fifteen: less than or equal to is incorrect here when the sidebar only appears at 955px -- it should be less than for removal of inline styles.

Props iamtakashi, fixes #30656

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentyfifteen/js/functions.js

    r30562 r30804  
    5858                sidebarHeight = $sidebar.height();
    5959
    60                 if ( 955 >= windowWidth ) {
     60                if ( 955 > windowWidth ) {
    6161                        top = bottom = false;
    6262                        $sidebar.removeAttr( 'style' );
Note: See TracChangeset for help on using the changeset viewer.