fix: remove unused html from wish edit modal
This commit is contained in:
parent
7fbdfe3a5e
commit
0f47bca189
1 changed files with 4 additions and 0 deletions
|
@ -228,6 +228,10 @@ $(function () {
|
||||||
wish_edit
|
wish_edit
|
||||||
.modal({
|
.modal({
|
||||||
'onApprove' : wishSave,
|
'onApprove' : wishSave,
|
||||||
|
'onHidden' : function() {
|
||||||
|
$(this).modal('destroy');
|
||||||
|
$(this).remove();
|
||||||
|
}
|
||||||
})
|
})
|
||||||
.modal('show')
|
.modal('show')
|
||||||
.addClass(wish_edit_size);
|
.addClass(wish_edit_size);
|
||||||
|
|
Loading…
Reference in a new issue