Skip to content

Commit 8d42875

Browse files
Revert "Move where rescheudle is for hygine sake"
This reverts commit b8ab753.
1 parent b8ab753 commit 8d42875

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

injected/src/features/page-context.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,6 @@ export default class PageContext extends ContentFeature {
178178
this.#cachedContent = undefined;
179179
this.#cachedTimestamp = 0;
180180
this.stopObserving();
181-
this.scheduleDelayedRecheck();
182181
}
183182

184183
/**
@@ -214,6 +213,8 @@ export default class PageContext extends ContentFeature {
214213
this.log.info('MutationObserver', _mutations);
215214
// Invalidate cache when content changes
216215
this.cachedContent = undefined;
216+
217+
this.scheduleDelayedRecheck();
217218
});
218219
}
219220
}

0 commit comments

Comments
 (0)