From 069e31acab443cc693967467556d5b66ab91c7f2 Mon Sep 17 00:00:00 2001 From: Ian Stewart Date: Wed, 10 Dec 2014 13:30:24 +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 git-svn-id: https://develop.svn.wordpress.org/trunk@30804 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-content/themes/twentyfifteen/js/functions.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-content/themes/twentyfifteen/js/functions.js b/src/wp-content/themes/twentyfifteen/js/functions.js index 5f7980b8e0..9415ba556d 100644 --- a/src/wp-content/themes/twentyfifteen/js/functions.js +++ b/src/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' ); }