From e495aa72ad8a38e6b951a0afe641315e4f7ce703 Mon Sep 17 00:00:00 2001 From: chris Date: Tue, 29 Apr 2025 11:02:57 +0200 Subject: [PATCH] FIX: setFunctionsExtStorage setting property method set property _styleExtStore instead of _functionsExtStore --- src/component/addStyleAndFunctions.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/component/addStyleAndFunctions.js b/src/component/addStyleAndFunctions.js index 6834b6c..0b8b8ce 100644 --- a/src/component/addStyleAndFunctions.js +++ b/src/component/addStyleAndFunctions.js @@ -146,11 +146,11 @@ class StyleAndScriptStoringComponent extends ModifiableComponent { setFunctionsStorage(extStore) { if (extStore) { if (extStore instanceof ExtStorage) { - this._stylesExtStore = extStore; + this._functionsExtStore = extStore; } else if (extStore instanceof ExtStoreType) { - this._stylesExtStore.setExtStoreType(extStore); + this._functionsExtStore.setExtStoreType(extStore); } else { - this._stylesExtStore.OverwriteBehaviour(extStore); + this._functionsExtStore.OverwriteBehaviour(extStore); } this._isFunESDefault = false; } else {