Skip to content

Commit b8ab753

Browse files
Move where rescheudle is for hygine sake
1 parent 713157d commit b8ab753

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

injected/src/features/page-context.js

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

183184
/**
@@ -213,8 +214,6 @@ export default class PageContext extends ContentFeature {
213214
this.log.info('MutationObserver', _mutations);
214215
// Invalidate cache when content changes
215216
this.cachedContent = undefined;
216-
217-
this.scheduleDelayedRecheck();
218217
});
219218
}
220219
}

0 commit comments

Comments
 (0)