From 867aabca4a29ddce0452af2e907559c3a1d0bfc7 Mon Sep 17 00:00:00 2001 From: Ian Stewart Date: Wed, 10 Dec 2014 13:31:22 +0000 Subject: [PATCH] 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 --- wp-content/themes/twentyfifteen/js/functions.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-content/themes/twentyfifteen/js/functions.js b/wp-content/themes/twentyfifteen/js/functions.js index 5f7980b8e0..9415ba556d 100644 --- a/wp-content/themes/twentyfifteen/js/functions.js +++ b/wp-content/themes/twentyfifteen/js/functions.js @@ -57,7 +57,7 @@ documentHeight = $document.height(); sidebarHeight = $sidebar.height(); - if ( 955 >= windowWidth ) { + if ( 955 > windowWidth ) { top = bottom = false; $sidebar.removeAttr( 'style' ); }