From: Nicolas Coden Date: Sun, 4 Mar 2018 22:51:10 +0000 (+0100) Subject: clean: remove comment about a resolved bug in Magellan tests X-Git-Tag: v6.6.0~23^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F11058%2Fhead;p=thirdparty%2Ffoundation%2Ffoundation-sites.git clean: remove comment about a resolved bug in Magellan tests https://github.com/zurb/foundation-sites/pull/10906 --- diff --git a/test/javascript/components/magellan.js b/test/javascript/components/magellan.js index 8e70b727f..243c201ff 100644 --- a/test/javascript/components/magellan.js +++ b/test/javascript/components/magellan.js @@ -55,7 +55,7 @@ describe('Magellan', function() { // Jump to last section var target = $html.find('a').eq(-1).attr('href'); plugin.scrollToLoc(target); - // The `update` event doesn't work properly because it fires too often + setTimeout(function() { var isInViewport = false; if ($content.find('div').eq(-1).offset().top > $('body').scrollTop() && $content.offset().top < $('body').scrollTop() + $('body').innerHeight()) {