From 1b7c131c375947e1ef417a7ba978d3725462e77d Mon Sep 17 00:00:00 2001 From: tophf Date: Mon, 6 Aug 2018 21:27:48 +0300 Subject: [PATCH] fixup 1a42e6bf --- content/apply.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/apply.js b/content/apply.js index 34fd3f53..109b6713 100644 --- a/content/apply.js +++ b/content/apply.js @@ -485,6 +485,7 @@ !force && scheduledSort) { return; } + scheduledSort = false; let prevExpected = document.documentElement.lastElementChild; while (prevExpected && isSkippable(prevExpected, true)) { prevExpected = prevExpected.previousElementSibling; @@ -497,7 +498,6 @@ scheduledSort = true; return; } - scheduledSort = false; for (const el of styleElements.values()) { if (!isMovable(el)) { continue;