diff options
author | Jacob Thornton <jacobthornton@gmail.com> | 2012-03-25 05:20:09 +0400 |
---|---|---|
committer | Jacob Thornton <jacobthornton@gmail.com> | 2012-03-25 05:20:09 +0400 |
commit | bccc2cb7191eb54a4d67563625a748d7ecd381d4 (patch) | |
tree | c4562643867c197b7f7f5792694e3e10aab8de52 /js/bootstrap-scrollspy.js | |
parent | ef5ac02b698ffab3a42d21f20859b70df85543c0 (diff) |
add preventDefault support for all inital event types (show, close, hide, etc.) + fix small bug with scrollspy.last
Diffstat (limited to 'js/bootstrap-scrollspy.js')
-rw-r--r-- | js/bootstrap-scrollspy.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/js/bootstrap-scrollspy.js b/js/bootstrap-scrollspy.js index bd3f106044..c02e263b0e 100644 --- a/js/bootstrap-scrollspy.js +++ b/js/bootstrap-scrollspy.js @@ -46,8 +46,8 @@ var self = this , $targets - this.offsets = [] - this.targets = [] + this.offsets = $([]) + this.targets = $([]) $targets = this.$body .find(this.selector) |