aboutsummaryrefslogtreecommitdiff
path: root/js/bootstrap-scrollspy.js
diff options
context:
space:
mode:
authorJacob Thornton <[email protected]>2011-12-20 19:37:41 -0800
committerJacob Thornton <[email protected]>2011-12-20 19:37:41 -0800
commit0980a33b4703677e1aaf3cd949c0437512fa6f33 (patch)
treee7d2b1ac80580699d50c85c747d195d47be40ed6 /js/bootstrap-scrollspy.js
parent1ef5fa7d6b4e50230c0c12919b0a06a9a2ac07f1 (diff)
downloadbootstrap-0980a33b4703677e1aaf3cd949c0437512fa6f33.tar.xz
bootstrap-0980a33b4703677e1aaf3cd949c0437512fa6f33.zip
update all to new on api + add animation support to tabs
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 3c271793c..041cfcb45 100644
--- a/js/bootstrap-scrollspy.js
+++ b/js/bootstrap-scrollspy.js
@@ -27,7 +27,7 @@
function ScrollSpy( element ) {
var process = $.proxy(this.process, this)
- this.$scrollElement = $(element).bind('scroll.scroll.data-api', process)
+ this.$scrollElement = $(element).on('scroll.scroll.data-api', process)
this.selector = (this.$scrollElement.attr('data-target')
|| this.$scrollElement.attr('href')
|| '') + ' .nav li > a'