From c788e7939d5a13d7768485bc2cb659be5b6ff436 Mon Sep 17 00:00:00 2001 From: Arsen Mirzaev Tatyano-Muradovich Date: Fri, 6 Oct 2023 19:16:58 +0700 Subject: [PATCH] The argument for preventing downloading --- reinitializer.js | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/reinitializer.js b/reinitializer.js index e801001..8c8cb12 100644 --- a/reinitializer.js +++ b/reinitializer.js @@ -23,7 +23,7 @@ if (typeof window.reinitializer !== "function") { /** * Instance of the observer */ - observer = new MutationObserver(() => this.handle(this.root)); + observer = new MutationObserver(() => this.handle()); /** * Construct @@ -37,10 +37,12 @@ if (typeof window.reinitializer !== "function") { /** * Reinitialize and