set buttonBusy true as default

pull/279/head
Alper Ebicoglu 7 years ago
parent d84bf38844
commit 626a36aece

@ -10,6 +10,10 @@
var $icon = $button.find('i');
var $buttonInnerSpan = $button.find('span');
if (isBusy === undefined) {
isBusy = true;
}
if (isBusy) {
if ($button.hasClass('button-busy')) {
return;
@ -76,4 +80,6 @@
return obj;
};
})(jQuery);
Loading…
Cancel
Save