Skip to content

Commit 35a2642

Browse files
committed
fix: add init() directly above export default to fix bug in firefox
1 parent 4ee2327 commit 35a2642

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Diff for: src/index.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -114,8 +114,6 @@ document.addEventListener('fetchedTemplate', () => {
114114
init();
115115
});
116116

117-
init();
118-
119117
observer.init({
120118
name: 'CoCreateConditionalLogic',
121119
observe: ['addedNodes'],
@@ -133,6 +131,7 @@ CoCreate.action.init({
133131
}
134132
});
135133

134+
init();
136135

137136
const CoCreateConditionalLogic = { initElements, selectShowHideEle, clickShowHideEle };
138137
export default CoCreateConditionalLogic;

0 commit comments

Comments
 (0)