And the fate of /gui is sealed
Make sure that the proper files that are not in `/gui` are loaded.
This commit is contained in:
parent
527d7b6835
commit
0059314655
10 changed files with 9 additions and 82 deletions
|
@ -39,7 +39,7 @@ function events(window) {
|
|||
.addEventListener(`click`, async () => {
|
||||
// Import the filters module.
|
||||
const texts = (
|
||||
await import(chrome.runtime.getURL(`gui/scripts/read.js`))
|
||||
await import(chrome.runtime.getURL(`/scripts/strings/read.js`))
|
||||
).default;
|
||||
let filters = new (
|
||||
await import(chrome.runtime.getURL(`scripts/filters.js`))
|
||||
|
@ -59,7 +59,7 @@ function events(window) {
|
|||
.addEventListener(`click`, async () => {
|
||||
// Import the filters module.
|
||||
const texts = (
|
||||
await import(chrome.runtime.getURL(`gui/scripts/read.js`))
|
||||
await import(chrome.runtime.getURL(`/scripts/strings/read.js`))
|
||||
).default;
|
||||
let filters = new (
|
||||
await import(chrome.runtime.getURL(`scripts/filters.js`))
|
||||
|
@ -79,7 +79,7 @@ function events(window) {
|
|||
.addEventListener(`click`, async () => {
|
||||
// Import the filters module.
|
||||
let texts = (
|
||||
await import(chrome.runtime.getURL(`gui/scripts/read.js`))
|
||||
await import(chrome.runtime.getURL(`/scripts/strings/read.js`))
|
||||
).default;
|
||||
let filters = new (
|
||||
await import(chrome.runtime.getURL(`scripts/filters.js`))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue