Skip to content

Commit ba42407

Browse files
committed
Fix apply mage events due race condition
1 parent e585f82 commit ba42407

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/web/mage/mage.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ define([
8585
/**
8686
* Init components inside of dynamically updated elements
8787
*/
88-
$('body').on('contentUpdated', function () {
88+
$('body').on('contentUpdated', 'html', function () {
8989
if (mage) {
9090
mage.apply();
9191
}

0 commit comments

Comments
 (0)