Skip to content

Commit bc7c72e

Browse files
committed
MC-41897: Fix jQuery.fn.bind()
- Change bind deprecated function
1 parent 8020fb9 commit bc7c72e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/PageBuilder/view/adminhtml/web/js/modal/template-manager-save.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ define([
122122
}
123123

124124
this.options.actions.always();
125-
this.element.bind('promptclosed', _.bind(this._remove, this));
125+
this.element.on('promptclosed', _.bind(this._remove, this));
126126

127127
return this._super();
128128
}

0 commit comments

Comments
 (0)