Explorar o código

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

Dyad 2: Fix fade over short posts on blog page
Daniel Dudzic %!s(int64=5) %!d(string=hai) anos
pai
achega
8e263de356
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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');