Skip to content

Commit 553eac2

Browse files
committed
MC-41897: Fix jQuery.fn.bind()
- Revert wrong change
1 parent b9ec43e commit 553eac2

File tree

1 file changed

+1
-1
lines changed
  • app/code/Magento/Ui/view/base/web/js/dynamic-rows

1 file changed

+1
-1
lines changed

app/code/Magento/Ui/view/base/web/js/dynamic-rows/dnd.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ define([
109109
* @param {Object} data - element data
110110
*/
111111
initListeners: function (elem, data) {
112-
$(elem).on('mousedown touchstart', this.mousedownHandler.on(this, data, elem));
112+
$(elem).on('mousedown touchstart', this.mousedownHandler.bind(this, data, elem));
113113
},
114114

115115
/**

0 commit comments

Comments
 (0)