From 41e2d43ecc4e2fe874b4b94ea72a41be6741c4a6 Mon Sep 17 00:00:00 2001 From: tophf Date: Thu, 5 Jul 2018 22:42:18 +0300 Subject: [PATCH] fixup 7c9fd5e6: the enclosed code had nested backticks! --- content/install-hook-userstyles.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/content/install-hook-userstyles.js b/content/install-hook-userstyles.js index e124f41a..d26a88af 100644 --- a/content/install-hook-userstyles.js +++ b/content/install-hook-userstyles.js @@ -346,7 +346,7 @@ })(); // run in page context -document.documentElement.appendChild(document.createElement('script')).text = `(${ +document.documentElement.appendChild(document.createElement('script')).text = '(' + ( EXTENSION_ORIGIN => { document.currentScript.remove(); @@ -466,7 +466,7 @@ document.documentElement.appendChild(document.createElement('script')).text = `( }); }; } -})('${chrome.runtime.getURL('').slice(0, -1)}')`; +) + `)('${chrome.runtime.getURL('').slice(0, -1)}')`; // TODO: remove the following statement when USO pagination is fixed if (location.search.includes('category=')) {