mirror of
https://github.com/WordPress/WordPress.git
synced 2024-09-29 15:47:38 +02:00
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();
|
documentHeight = $document.height();
|
||||||
sidebarHeight = $sidebar.height();
|
sidebarHeight = $sidebar.height();
|
||||||
|
|
||||||
if ( 955 >= windowWidth ) {
|
if ( 955 > windowWidth ) {
|
||||||
top = bottom = false;
|
top = bottom = false;
|
||||||
$sidebar.removeAttr( 'style' );
|
$sidebar.removeAttr( 'style' );
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user