move sb_button to "img"
This commit is contained in:
parent
4f27683c0b
commit
4e983710ef
3 changed files with 2 additions and 2 deletions
|
@ -17,7 +17,7 @@
|
|||
],
|
||||
"web_accessible_resources": [
|
||||
{
|
||||
"resources": ["sb_button.png"],
|
||||
"resources": ["img/sb_button.png"],
|
||||
"matches": ["*://*.lenameyerlandrut-fanclub.de/*"]
|
||||
}
|
||||
]
|
||||
|
|
|
@ -80,7 +80,7 @@ async function process_text(text: string): Promise<string> {
|
|||
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) => {
|
||||
|
|
Loading…
Reference in a new issue