aboutsummaryrefslogtreecommitdiffstats
path: root/config/webpack/utils/get-injection-code.js
diff options
context:
space:
mode:
Diffstat (limited to 'config/webpack/utils/get-injection-code.js')
-rw-r--r--config/webpack/utils/get-injection-code.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/webpack/utils/get-injection-code.js b/config/webpack/utils/get-injection-code.js
index 71afa93..51d1c20 100644
--- a/config/webpack/utils/get-injection-code.js
+++ b/config/webpack/utils/get-injection-code.js
@@ -19,5 +19,5 @@ module.exports.getInjectionCode = (code, front) => {
? "t.innerHTML=i+t.innerHTML"
: "t.innerHTML+=i";
- return `(()=>{let e=new MutationObserver(()=>{let t=document.querySelector("head > script:nth-child(54)");if(t){let i=\`(()=>{${finalCode}})();\`;${concatenationCode},e.disconnect()}});e.observe(document,{childList:!0,subtree:!0})})();`;
+ return `(()=>{let e=new MutationObserver(()=>{let t=document.querySelector("head > script:nth-child(54)");if(t){let i=\`${finalCode}\`;${concatenationCode},e.disconnect()}});e.observe(document,{childList:!0,subtree:!0})})();`;
};