Browse Source

Merge pull request #584 from Automattic/fix/dyad2-too-short-class-logic

Dyad 2: Fix fade over short posts on blog page
Daniel Dudzic 5 years ago
parent
commit
8e263de356
1 changed files with 1 additions and 1 deletions
  1. 1 1
      dyad-2/js/global.js

+ 1 - 1
dyad-2/js/global.js

@@ -95,7 +95,7 @@
 				$contentHeight = $content.innerHeight(),
 				$wholeContentHeight = $headerHeight + $contentHeight;
 
-			if ( ( $innerContainHeight - $linkMoreHeight ) <= $wholeContentHeight ) {
+			if ( ( $innerContainHeight - $linkMoreHeight ) < $wholeContentHeight ) {
 				$contain.parent().addClass('too-short');
 			} else {
 				$contain.parent().removeClass('too-short');