mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-05-15 11:59:39 +03:00
act on all twipsy instances
This commit is contained in:
Vendored
+4
-3
@@ -190,9 +190,10 @@
|
||||
, eventOut
|
||||
|
||||
if (typeof options == 'string') {
|
||||
twipsy = this.data(name)
|
||||
if (twipsy) twipsy[options]()
|
||||
return this
|
||||
return this.each(function (){
|
||||
twipsy = $.data(this, name)
|
||||
if (twipsy) twipsy[options]()
|
||||
})
|
||||
}
|
||||
|
||||
options = $.extend({}, $.fn[name].defaults, options)
|
||||
|
||||
Reference in New Issue
Block a user