diff options
| author | Jacob Thornton <[email protected]> | 2011-12-20 19:37:41 -0800 |
|---|---|---|
| committer | Jacob Thornton <[email protected]> | 2011-12-20 19:37:41 -0800 |
| commit | 0980a33b4703677e1aaf3cd949c0437512fa6f33 (patch) | |
| tree | e7d2b1ac80580699d50c85c747d195d47be40ed6 /js/bootstrap-scrollspy.js | |
| parent | 1ef5fa7d6b4e50230c0c12919b0a06a9a2ac07f1 (diff) | |
| download | bootstrap-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.js | 2 |
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' |
