mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-11 18:02:28 +03:00
define constructor on prototypes
This commit is contained in:
Vendored
+3
-1
@@ -34,7 +34,9 @@
|
||||
|
||||
Modal.prototype = {
|
||||
|
||||
toggle: function () {
|
||||
constructor: Modal
|
||||
|
||||
, toggle: function () {
|
||||
return this[!this.isShown ? 'show' : 'hide']()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user