Skip to content

Commit 69c7a7f

Browse files
committed
MC-41897: Fix jQuery.fn.bind()
- Change unbind deprecated function
1 parent cc75fc1 commit 69c7a7f

File tree

1 file changed

+1
-1
lines changed
  • AdobeStockImageAdminUi/view/adminhtml/web/js/components/grid/column/preview

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ define([
5959
this.disableTabsKeyDownEvent();
6060
}.bind(this), 100);
6161
} else {
62-
$(this.tabsContainerId + ' li[role=tab]').unbind('keydown');
62+
$(this.tabsContainerId + ' li[role=tab]').off('keydown');
6363
}
6464
},
6565

0 commit comments

Comments
 (0)