aboutsummaryrefslogtreecommitdiff
path: root/js/dist/scrollspy.js
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2016-06-12 21:17:14 -0700
committerMark Otto <[email protected]>2016-06-12 21:17:14 -0700
commitaaad85bc306ccf35bd749ea43d2aa768e4ebabeb (patch)
tree8011d6e04d1bb4c87356036eba55cc13639bc96a /js/dist/scrollspy.js
parent8feae9075ae55be4e6cd0e884fbfa006a6639ceb (diff)
parentce2e944aa6957528f23f1f7e680ac0cb4a75dcac (diff)
downloadbootstrap-aaad85bc306ccf35bd749ea43d2aa768e4ebabeb.tar.xz
bootstrap-aaad85bc306ccf35bd749ea43d2aa768e4ebabeb.zip
Merge branch 'v4-dev' of https://github.com/twbs/bootstrap into v4-dev
Diffstat (limited to 'js/dist/scrollspy.js')
-rw-r--r--js/dist/scrollspy.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/js/dist/scrollspy.js b/js/dist/scrollspy.js
index 529d9d56a..549480076 100644
--- a/js/dist/scrollspy.js
+++ b/js/dist/scrollspy.js
@@ -135,6 +135,7 @@ var ScrollSpy = (function ($) {
// todo (fat): remove sketch reliance on jQuery position/offset
return [$(target)[offsetMethod]().top + offsetBase, targetSelector];
}
+ return null;
}).filter(function (item) {
return item;
}).sort(function (a, b) {