Skip to content

Commit 274c8d6

Browse files
committed
fox regression in node
1 parent 4baaf84 commit 274c8d6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

core/extras/style-observer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
if (!window.__mod__styleImportantForcerInitialized) {
1+
if (typeof window !== "undefined" && !window.__mod__styleImportantForcerInitialized) {
22
window.__mod__styleImportantForcerInitialized = true;
33

44
const styleObserver = new MutationObserver((mutations) => {

0 commit comments

Comments
 (0)