Skip to content

Commit c29bc49

Browse files
committed
fix: observer taget has been renamed to selector
1 parent 2240d2f commit c29bc49

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
@@ -284,7 +284,7 @@ function updateScrollableAttributes(element) {
284284
Observer.init({
285285
name: 'CoCreateScrollCreate',
286286
observe: ['addedNodes'],
287-
target: '[scroll], [scroll-to], [scrollable-x], [scrollable-y]',
287+
selector: '[scroll], [scroll-to], [scrollable-x], [scrollable-y]',
288288
callback: function (mutation) {
289289
CoCreateScroll.initElement(mutation.target);
290290
}

0 commit comments

Comments
 (0)