fixed the banner not working (in theory)
All checks were successful
Web/pipeline/head This commit looks good

This commit is contained in:
Ell 2021-07-14 03:29:18 +02:00
parent 374d8b65dc
commit 5348dd2be9

View file

@ -13,6 +13,6 @@ function setBanner(name, desc, link) {
let banner = $("#banner");
banner.html(desc);
banner.prop("href", link);
banner.css("background-image", `url(${loc}/res/${name}.png)`);
banner.css("background-image", `url(/res/${name}.png)`);
banner.removeAttr("hidden");
}