Skip to content

Commit f803736

Browse files
authored
MC-41858: Fixed eslint jQuery static tests (#5)
1 parent 3b4f3b7 commit f803736

File tree

2 files changed

+2
-1
lines changed
  • AdobeStockImageAdminUi/view/adminhtml/web/js

2 files changed

+2
-1
lines changed

AdobeStockImageAdminUi/view/adminhtml/web/js/components/grid/column/preview/related.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,7 @@ define([
127127

128128
/* Switch to the model tab if the series tab is hidden */
129129
if (relatedImages.series[record.id].length === 0 && relatedImages.model[record.id].length > 0) {
130+
// eslint-disable-next-line jquery-no-click-event-shorthand
130131
$('#adobe-stock-tabs').data().mageTabs.select(1);
131132
}
132133
}.bind(this));

AdobeStockImageAdminUi/view/adminhtml/web/js/confirmation/license.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ define([
7474
});
7575

7676
if (!data.visible) {
77-
$('.adobe-stock-save-preview-prompt').focus();
77+
$('.adobe-stock-save-preview-prompt').trigger('focus');
7878
}
7979

8080
return deferred.promise();

0 commit comments

Comments
 (0)