Skip to content

Commit f9faf16

Browse files
committed
fix: observer taget has been renamed to selector
1 parent 505bd83 commit f9faf16

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ document.addEventListener('fetchedData', () => {
121121
observer.init({
122122
name: 'CoCreateConditionalLogic',
123123
observe: ['addedNodes'],
124-
target: '[show], [hide]',
124+
selector: '[show], [hide]',
125125
callback: function (mutation) {
126126
initElement(mutation.target);
127127
}

0 commit comments

Comments
 (0)