Fixed some photos not showing
This commit is contained in:
parent
8ec3fc8238
commit
fd1eba1059
2 changed files with 3 additions and 4 deletions
|
@ -14,10 +14,10 @@ let other_css = `
|
|||
.ikony {
|
||||
float: left;}`;
|
||||
if (document.body.classList.contains("motiv-tmavy")){
|
||||
photos.concat(browser.runtime.getURL("assets/brandejsMucitel.png"), browser.runtime.getURL("assets/brandejsMC.png"));
|
||||
photos.push(browser.runtime.getURL("assets/brandejsMucitel.png"), browser.runtime.getURL("assets/brandejsMC.png"));
|
||||
}
|
||||
else {
|
||||
photos.concat(browser.runtime.getURL("assets/brandejsMC.jpg"), browser.runtime.getURL("assets/brandejsMucitel.jpg"));
|
||||
photos.push(browser.runtime.getURL("assets/brandejsMucitel.jpg"), browser.runtime.getURL("assets/brandejsMC.jpg"));
|
||||
}
|
||||
|
||||
let rng = Math.floor(Math.random() * photos.length);
|
||||
|
|
|
@ -2,11 +2,10 @@
|
|||
"manifest_version": 2,
|
||||
|
||||
"name": "Custom Brandejs theme for IS",
|
||||
"version": "1.0",
|
||||
"version": "1.1",
|
||||
"description": "The only proper way to enjoy MUNI IS (shamelessly stolen)",
|
||||
"browser_specific_settings": {
|
||||
"gecko": {
|
||||
"id": "brandejsIS@custombrandejstheme",
|
||||
"update_url": "https://zylacx.github.io/updates.json"
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue