From bb44a6ce26ae11fe9f449ba9f3e11030d87258ae Mon Sep 17 00:00:00 2001 From: Nathan Gray Date: Wed, 10 Apr 2013 15:17:18 +0000 Subject: [PATCH] Fix dynheight case when there is no space between dynheight & items below --- etemplate/js/et2_extension_nextmatch_dynheight.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etemplate/js/et2_extension_nextmatch_dynheight.js b/etemplate/js/et2_extension_nextmatch_dynheight.js index c2e7d1f7a6..4d389737a3 100644 --- a/etemplate/js/et2_extension_nextmatch_dynheight.js +++ b/etemplate/js/et2_extension_nextmatch_dynheight.js @@ -128,7 +128,7 @@ var et2_dynheight = Class.extend({ $j(_node).children().each(function() { var $this = $j(this); var top = $this.offset().top; - if (this != self.innerNode[0] && top > _bottom) + if (this != self.innerNode[0] && top >= _bottom) { self.bottomNodes.push($this); }