diff --git a/public/sb_button.png b/public/img/sb_button.png similarity index 100% rename from public/sb_button.png rename to public/img/sb_button.png diff --git a/public/manifest.json b/public/manifest.json index 09c2bc9..406c87a 100644 --- a/public/manifest.json +++ b/public/manifest.json @@ -17,7 +17,7 @@ ], "web_accessible_resources": [ { - "resources": ["sb_button.png"], + "resources": ["img/sb_button.png"], "matches": ["*://*.lenameyerlandrut-fanclub.de/*"] } ] diff --git a/src/main.ts b/src/main.ts index a65c12f..1d25869 100644 --- a/src/main.ts +++ b/src/main.ts @@ -80,7 +80,7 @@ async function process_text(text: string): Promise { btn.style.setProperty("margin-right", "4px"); const img = document.createElement("img"); - img.setAttribute("src", chrome.runtime.getURL("sb_button.png")); + img.setAttribute("src", chrome.runtime.getURL("img/sb_button.png")); img.style.setProperty("vertical-align", "middle"); btn.addEventListener("click", async (event) => {