Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacob Thornton <jacobthornton@gmail.com>2012-03-25 05:20:09 +0400
committerJacob Thornton <jacobthornton@gmail.com>2012-03-25 05:20:09 +0400
commitbccc2cb7191eb54a4d67563625a748d7ecd381d4 (patch)
treec4562643867c197b7f7f5792694e3e10aab8de52 /js/bootstrap-scrollspy.js
parentef5ac02b698ffab3a42d21f20859b70df85543c0 (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.js4
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)