You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems you want the observer to be a singleton, but .observe() is not chainable, so window.cssScope always ends up as undefined.
Probably in normal HTML pages it's not important, but I'm playing with HTMX/FastHTML in Notebooks and it's easy to get several observers running simultaneasly.
The text was updated successfully, but these errors were encountered:
In your (awesome) code:
It seems you want the observer to be a singleton, but .observe() is not chainable, so window.cssScope always ends up as undefined.
Probably in normal HTML pages it's not important, but I'm playing with HTMX/FastHTML in Notebooks and it's easy to get several observers running simultaneasly.
The text was updated successfully, but these errors were encountered: