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 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');
|
||||
elementButtons.addClass('disabled');
|
||||
|
@ -443,8 +443,8 @@ $(function () {
|
|||
/**
|
||||
* Name
|
||||
*/
|
||||
if (info.title && elementName.length) {
|
||||
elementName.val(info.title);
|
||||
if (info.title && elementTitle.length) {
|
||||
elementTitle.val(info.title);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue