From de0722f989bcbb2b2296cfe969bd48b0add3b1f3 Mon Sep 17 00:00:00 2001 From: Bootstrap's Grunt bot Date: Mon, 2 Mar 2015 00:11:14 +0000 Subject: automatic grunt dist --- dist/js/bootstrap.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dist/js/bootstrap.js') diff --git a/dist/js/bootstrap.js b/dist/js/bootstrap.js index b0a8ec72b..267c24880 100644 --- a/dist/js/bootstrap.js +++ b/dist/js/bootstrap.js @@ -1916,7 +1916,7 @@ if (typeof jQuery === 'undefined') { for (i = offsets.length; i--;) { activeTarget != targets[i] && scrollTop >= offsets[i] - && (!offsets[i + 1] || scrollTop <= offsets[i + 1]) + && (offsets[i + 1] === undefined || scrollTop <= offsets[i + 1]) && this.activate(targets[i]) } } -- cgit v1.2.3