From 04df379a13db6627ca113f85ed8286246ca58270 Mon Sep 17 00:00:00 2001 From: Nicolas Coden Date: Sun, 4 Mar 2018 23:51:10 +0100 Subject: [PATCH] clean: remove comment about a resolved bug in Magellan tests https://github.com/zurb/foundation-sites/pull/10906 --- test/javascript/components/magellan.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()) { -- 2.47.2