From bd3cdb98acbfcb17463dbe0e4ca5891f5749af8e Mon Sep 17 00:00:00 2001 From: Ajay Date: Sun, 11 Dec 2022 11:58:10 -0500 Subject: [PATCH] Fix lots of chapters freezing the browser --- src/js-components/previewBar.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/js-components/previewBar.ts b/src/js-components/previewBar.ts index 677b998f..7b93f67e 100644 --- a/src/js-components/previewBar.ts +++ b/src/js-components/previewBar.ts @@ -581,6 +581,7 @@ class PreviewBar { for (const mutation of mutations) { if (mutation.type === "childList") { this.update(); + break; } }