From: jk Date: Tue, 26 Apr 2016 17:31:25 +0000 (+0200) Subject: possible fix for #8671 X-Git-Tag: v6.2.2-rc1~47^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F8673%2Fhead;p=thirdparty%2Ffoundation%2Ffoundation-sites.git possible fix for #8671 use getBoundingClintRect().top to detect stack --- diff --git a/js/foundation.equalizer.js b/js/foundation.equalizer.js index 3c51537d3..f20f279f2 100644 --- a/js/foundation.equalizer.js +++ b/js/foundation.equalizer.js @@ -132,7 +132,7 @@ class Equalizer { * @private */ _isStacked() { - return this.$watched[0].offsetTop !== this.$watched[1].offsetTop; + return this.$watched[0].getBoundingClientRect().top !== this.$watched[1].getBoundingClientRect().top; } /**