mirror of
https://github.com/Starlio-app/Starlio-web.git
synced 2024-11-06 01:13:57 +03:00
change color disable button
This commit is contained in:
parent
2842beff33
commit
26d463ce2a
1 changed files with 1 additions and 1 deletions
|
@ -100,7 +100,7 @@ function wallpaper(data) {
|
|||
if($(`img#${id}.card-img-top`).attr("src") !== "http://localhost:4662/static/image/placeholder.png") {
|
||||
button.innerHTML = `<button type="button" class="btn btn-primary" id="setWallpaper">Set Wallpaper</button>`;
|
||||
} else {
|
||||
button.innerHTML = `<button type="button" class="btn btn-primary" id="setWallpaper" disabled>Set Wallpaper</button>`;
|
||||
button.innerHTML = `<button type="button" class="btn" id="setWallpaper" disabled style="background-color: grey; color: white;">Set Wallpaper</button>`;
|
||||
}
|
||||
|
||||
let setWallpaper = document.querySelector("#setWallpaper");
|
||||
|
|
Loading…
Reference in a new issue