From: Chris Rebert Date: Mon, 30 May 2016 01:36:09 +0000 (-0700) Subject: js/tests/unit/scrollspy.js: Fix "offsed" typos (#19985) X-Git-Tag: v4.0.0-alpha.3~66^2~11 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d35973c2b3eacd15b297863ba79bcc46d877ba52;p=thirdparty%2Fbootstrap.git js/tests/unit/scrollspy.js: Fix "offsed" typos (#19985) [skip sauce] [skip validator] --- diff --git a/js/tests/unit/scrollspy.js b/js/tests/unit/scrollspy.js index 878c4d389d..cc78f4d6d5 100644 --- a/js/tests/unit/scrollspy.js +++ b/js/tests/unit/scrollspy.js @@ -362,7 +362,7 @@ $(function () { var $target = $('#div-' + type + 'm-2') var scrollspy = $content.data('bs.scrollspy') - assert.ok(scrollspy._offsets[1] === $target.offset().top, 'offsed method with ' + type + ' option') + assert.ok(scrollspy._offsets[1] === $target.offset().top, 'offset method with ' + type + ' option') assert.ok(scrollspy._offsets[1] !== $target.position().top, 'position method with ' + type + ' option') deferred.resolve() @@ -405,7 +405,7 @@ $(function () { var $target = $('#div-' + type + 'm-2') var scrollspy = $content.data('bs.scrollspy') - assert.ok(scrollspy._offsets[1] !== $target.offset().top, 'offsed method with ' + type + ' option') + assert.ok(scrollspy._offsets[1] !== $target.offset().top, 'offset method with ' + type + ' option') assert.ok(scrollspy._offsets[1] === $target.position().top, 'position method with ' + type + ' option') deferred.resolve()