Skip to content

Commit

Permalink
Replace removed size method.
Browse files Browse the repository at this point in the history
  • Loading branch information
karelmaxa committed Feb 27, 2024
1 parent f888247 commit 99a92ad
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ define([

$(clickedEle).parents(".form-group").remove();

if ($('#' + field_type + 'Wrapper').find('.field').size() === 1){
if ($('#' + field_type + 'Wrapper').find('.field').length === 1){
$('#' + field_type + 'Wrapper').find('.input-group-addon').hide();
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -451,7 +451,7 @@ define([

isValid = _this.validateMapping();

if (isValid && initialRender !== "true" && $('#propertyMappingDialogForm').size() === 0){
if (isValid && initialRender !== "true" && $('#propertyMappingDialogForm').length === 0){
_this.formSubmit();
}
});
Expand Down

0 comments on commit 99a92ad

Please sign in to comment.