Skip to content

Commit b43570a

Browse files
committed
fix: update observer observe param to type and and attributeName to attributeFilter
1 parent e955d0e commit b43570a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ function run(link) {
271271

272272
Observer.init({
273273
name: "actions",
274-
observe: ["addedNodes"],
274+
types: ["addedNodes"],
275275
selector: "[actions]",
276276
callback(mutation) {
277277
initActions(mutation.target);

0 commit comments

Comments
 (0)