From 99a9ea7b033f942f57cf7b602cfcd8abf8e5ad31 Mon Sep 17 00:00:00 2001 From: Waldemar Mazurek Date: Mon, 16 Dec 2024 12:01:10 +0100 Subject: [PATCH] Fixes 'setAttribute' issue in Luigi Client (#4068) --- client/src/lifecycleManager.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/lifecycleManager.js b/client/src/lifecycleManager.js index 6efae4e0a2..5951b52d56 100644 --- a/client/src/lifecycleManager.js +++ b/client/src/lifecycleManager.js @@ -246,7 +246,7 @@ class LifecycleManager extends LuigiClientBase { const id = helpers.getRandomId(); this._onInitFns[id] = initFn; if (disableTpcCheck) { - document.head.setAttribute('disable-tpc-check'); + document.head.setAttribute('disable-tpc-check', ''); } if (this.luigiInitialized && helpers.isFunction(initFn)) { initFn(this.currentContext.context, helpers.getLuigiCoreDomain());