mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-17 19:21:23 +03:00
push disable setting to the event loop - this allows for form submit to begin
This commit is contained in:
Vendored
+5
-3
@@ -31,9 +31,11 @@
|
|||||||
|
|
||||||
$el.html( data[state] || $.fn.button.defaults[state] )
|
$el.html( data[state] || $.fn.button.defaults[state] )
|
||||||
|
|
||||||
state == 'loadingText' ?
|
setTimeout(function () {
|
||||||
$el.addClass(d).attr(d, d) :
|
state == 'loadingText' ?
|
||||||
$el.removeClass(d).removeAttr(d)
|
$el.addClass(d).attr(d, d) :
|
||||||
|
$el.removeClass(d).removeAttr(d)
|
||||||
|
}, 0)
|
||||||
}
|
}
|
||||||
|
|
||||||
function toggle(el) {
|
function toggle(el) {
|
||||||
|
|||||||
Reference in New Issue
Block a user