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 Built from https://develop.svn.wordpress.org/trunk@30804 git-svn-id: http://core.svn.wordpress.org/trunk@30794 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
9584678932
commit
867aabca4a
|
@ -57,7 +57,7 @@
|
|||
documentHeight = $document.height();
|
||||
sidebarHeight = $sidebar.height();
|
||||
|
||||
if ( 955 >= windowWidth ) {
|
||||
if ( 955 > windowWidth ) {
|
||||
top = bottom = false;
|
||||
$sidebar.removeAttr( 'style' );
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue