From b17f441a4c206474ff2a58db292a995b287f0e31 Mon Sep 17 00:00:00 2001 From: eight Date: Sun, 3 Feb 2019 21:18:05 +0800 Subject: [PATCH] Fix: use evade --- content/apply.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/content/apply.js b/content/apply.js index 984dd1f3..fb62aa68 100644 --- a/content/apply.js +++ b/content/apply.js @@ -24,9 +24,7 @@ const APPLY = (() => { }); const docRewriteObserver = createDocRewriteObserver({ onChange: () => { - docRootObserver.stop(); - styleInjector.sort(); - docRootObserver.start(); + docRootObserver.evade(styleInjector.sort); } }); const initializing = init();