Skip to content

Commit 657d0e9

Browse files
authored
Merge pull request #3 from magento-lynx/MC-41897
MC-41897: Fix jQuery.fn.bind()
2 parents 7ad4330 + 7596a8e commit 657d0e9

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)