Refactor
This commit is contained in:
parent
95fce926c5
commit
fa7d0d7225
1 changed files with 3 additions and 3 deletions
|
@ -427,7 +427,7 @@ $(function () {
|
||||||
|
|
||||||
var elementModalAdd = $('.ui.modal.wishlist-wish-add');
|
var elementModalAdd = $('.ui.modal.wishlist-wish-add');
|
||||||
var elementButtons = elementModalAdd.find('.actions .button');
|
var elementButtons = elementModalAdd.find('.actions .button');
|
||||||
var elementName = elementModalAdd.find('input[name="wish_name"]');
|
var elementTitle = elementModalAdd.find('input[name="wish_name"]');
|
||||||
|
|
||||||
buttonValidate.addClass('disabled loading');
|
buttonValidate.addClass('disabled loading');
|
||||||
elementButtons.addClass('disabled');
|
elementButtons.addClass('disabled');
|
||||||
|
@ -443,8 +443,8 @@ $(function () {
|
||||||
/**
|
/**
|
||||||
* Name
|
* Name
|
||||||
*/
|
*/
|
||||||
if (info.title && elementName.length) {
|
if (info.title && elementTitle.length) {
|
||||||
elementName.val(info.title);
|
elementTitle.val(info.title);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue