Skip to content

Commit 6d70fe5

Browse files
committed
refactor(bind): remove attributes property, this is implied with attributeFilter
1 parent f4bed31 commit 6d70fe5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/bind.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ export function listenForBind(el: Node = document): Subscription {
3838
}
3939
}
4040
})
41-
observer.observe(el, {childList: true, subtree: true, attributes: true, attributeFilter: ['data-action']})
41+
observer.observe(el, {childList: true, subtree: true, attributeFilter: ['data-action']})
4242
const subscription = {
4343
get closed() {
4444
return closed

0 commit comments

Comments
 (0)