edit button stop load function
parent
5c6328e1f6
commit
d32703c34b
|
|
@ -42,7 +42,7 @@ layui.define(['jquery'], function(exports) {
|
||||||
* */
|
* */
|
||||||
button.prototype.stop = function(success) {
|
button.prototype.stop = function(success) {
|
||||||
$(this.option.elem).html(this.option.text);
|
$(this.option.elem).html(this.option.text);
|
||||||
success();
|
success && success();
|
||||||
}
|
}
|
||||||
|
|
||||||
exports(MOD_NAME, new button());
|
exports(MOD_NAME, new button());
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue