mirror of
https://github.com/twbs/bootstrap.git
synced 2025-09-25 12:59:05 +02:00
more tests, more js goodness
This commit is contained in:
4
js/bootstrap-twipsy.js
vendored
4
js/bootstrap-twipsy.js
vendored
@@ -188,6 +188,7 @@
|
||||
|
||||
$.fn.twipsy = function (options) {
|
||||
$.fn.twipsy.initWith.call(this, options, Twipsy)
|
||||
return this
|
||||
}
|
||||
|
||||
$.fn.twipsy.initWith = function (options, Constructor) {
|
||||
@@ -263,6 +264,9 @@
|
||||
this[binder](eventIn, enter)[binder](eventOut, leave)
|
||||
}
|
||||
|
||||
this.bind('twipsy:show', enter)
|
||||
this.bind('twipsy:hide', leave)
|
||||
|
||||
return this
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user