1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-09-26 05:19:15 +02:00

add preventDefault support for all inital event types (show, close, hide, etc.) + fix small bug with scrollspy.last

This commit is contained in:
Jacob Thornton
2012-03-24 18:20:09 -07:00
parent ef5ac02b69
commit bccc2cb719
16 changed files with 128 additions and 32 deletions

View File

@@ -46,8 +46,8 @@
var self = this
, $targets
this.offsets = []
this.targets = []
this.offsets = $([])
this.targets = $([])
$targets = this.$body
.find(this.selector)