stuff
This commit is contained in:
parent
a8798cc0d4
commit
726f5f0a2c
|
@ -522,7 +522,7 @@ class PluginRepo {
|
|||
BDFDB.toggleClass(entry, "updated", state < 1);
|
||||
let downloadbutton = entry.querySelector(".btn-download");
|
||||
downloadbutton.innerText = state < 1 ? "Updated" : (state > 1 ? "Download" : "Outdated");
|
||||
downloadbutton.style.setProperty("background-color", "rgb(" + (state < 1 ? "67,181,129" : (state > 1 ? "114,137,218" : "241,71,71")) + ")", "important");
|
||||
downloadbutton.style.setProperty("background-color", "rgb(" + (state < 1 ? "67,181,129" : (state > 1 ? "114,137,218" : "241,71,71")) + ")", state > 1 ? "" : "important");
|
||||
pluginRepoModal.entries[data.url] = data;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -658,7 +658,7 @@ class ThemeRepo {
|
|||
BDFDB.toggleClass(entry, "updated", state < 1);
|
||||
let downloadbutton = entry.querySelector(".btn-download");
|
||||
downloadbutton.innerText = state < 1 ? "Updated" : (state > 1 ? "Download" : "Outdated");
|
||||
downloadbutton.style.setProperty("background-color", "rgb(" + (state < 1 ? "67,181,129" : (state > 1 ? "114,137,218" : "241,71,71")) + ")", "important");
|
||||
downloadbutton.style.setProperty("background-color", "rgb(" + (state < 1 ? "67,181,129" : (state > 1 ? "114,137,218" : "241,71,71")) + ")", state > 1 ? "" : "important");
|
||||
themeRepoModal.entries[data.url] = data;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue