fixup 7c9fd5e6: the enclosed code had nested backticks!

This commit is contained in:
tophf 2018-07-05 22:42:18 +03:00
parent 6c07e8a223
commit 41e2d43ecc

View File

@ -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=')) {