diff options
| author | Chris Rebert <[email protected]> | 2016-05-29 18:36:09 -0700 |
|---|---|---|
| committer | Chris Rebert <[email protected]> | 2016-05-29 18:36:09 -0700 |
| commit | d35973c2b3eacd15b297863ba79bcc46d877ba52 (patch) | |
| tree | d2f0df6eb422b58c515b7d785b8a7d55ea71e4d0 /js | |
| parent | 680cb317ed9ef8e7a05ecaa10673b24ca6b4e11a (diff) | |
| download | bootstrap-d35973c2b3eacd15b297863ba79bcc46d877ba52.tar.xz bootstrap-d35973c2b3eacd15b297863ba79bcc46d877ba52.zip | |
js/tests/unit/scrollspy.js: Fix "offsed" typos (#19985)
[skip sauce]
[skip validator]
Diffstat (limited to 'js')
| -rw-r--r-- | js/tests/unit/scrollspy.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/js/tests/unit/scrollspy.js b/js/tests/unit/scrollspy.js index 878c4d389..cc78f4d6d 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() |
