fixed the banner not working (in theory)
All checks were successful
Web/pipeline/head This commit looks good
All checks were successful
Web/pipeline/head This commit looks good
This commit is contained in:
parent
374d8b65dc
commit
5348dd2be9
1 changed files with 1 additions and 1 deletions
|
@ -13,6 +13,6 @@ function setBanner(name, desc, link) {
|
||||||
let banner = $("#banner");
|
let banner = $("#banner");
|
||||||
banner.html(desc);
|
banner.html(desc);
|
||||||
banner.prop("href", link);
|
banner.prop("href", link);
|
||||||
banner.css("background-image", `url(${loc}/res/${name}.png)`);
|
banner.css("background-image", `url(/res/${name}.png)`);
|
||||||
banner.removeAttr("hidden");
|
banner.removeAttr("hidden");
|
||||||
}
|
}
|
Loading…
Reference in a new issue