aboutsummaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorJacob Thornton <[email protected]>2012-04-25 21:52:05 -0700
committerJacob Thornton <[email protected]>2012-04-25 21:52:05 -0700
commita29e5a9dd69f09b39b74f31e8131b7d9e633e9a1 (patch)
treeaac8ddbf2b200bbac4fce2173f5931f3329c0baf /js
parentaaabe2a46c64e7d9ffd5735dba2db4f3cf9906f5 (diff)
downloadbootstrap-a29e5a9dd69f09b39b74f31e8131b7d9e633e9a1.tar.xz
bootstrap-a29e5a9dd69f09b39b74f31e8131b7d9e633e9a1.zip
fix #3234
Diffstat (limited to '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 f6a24b003..4946ee936 100644
--- a/js/bootstrap-scrollspy.js
+++ b/js/bootstrap-scrollspy.js
@@ -35,7 +35,7 @@
this.selector = (this.options.target
|| ((href = $(element).attr('href')) && href.replace(/.*(?=#[^\s]+$)/, '')) //strip for ie7
|| '') + ' .nav li > a'
- this.$body = $('body').on('click.scroll.data-api', this.selector, process)
+ this.$body = $('body')
this.refresh()
this.process()
}