aboutsummaryrefslogtreecommitdiff
path: root/js/bootstrap-scrollspy.js
diff options
context:
space:
mode:
authorJacob Thornton <[email protected]>2012-04-14 23:38:11 -0700
committerJacob Thornton <[email protected]>2012-04-14 23:38:11 -0700
commitbe0efcfcfca603bc65484464e0aeaf7b2fc145c2 (patch)
tree86092b615c9c427b9f6580fcb287e5a5bcb9dcb8 /js/bootstrap-scrollspy.js
parent1ca1ef94ee80b8c5fa5f2a1e908a8d00fdfdf268 (diff)
downloadbootstrap-be0efcfcfca603bc65484464e0aeaf7b2fc145c2.tar.xz
bootstrap-be0efcfcfca603bc65484464e0aeaf7b2fc145c2.zip
whitespace
Diffstat (limited to 'js/bootstrap-scrollspy.js')
-rw-r--r--js/bootstrap-scrollspy.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/bootstrap-scrollspy.js b/js/bootstrap-scrollspy.js
index f0400813f..c67f1c8aa 100644
--- a/js/bootstrap-scrollspy.js
+++ b/js/bootstrap-scrollspy.js
@@ -102,7 +102,7 @@
.parent('li')
.addClass('active')
- if ( active.parent('.dropdown-menu') ) {
+ if (active.parent('.dropdown-menu')) {
active = active.closest('li.dropdown').addClass('active')
}