Fix gif location

This commit is contained in:
Octo Andri 2022-04-17 16:19:19 +00:00
parent 5c9a24c8aa
commit 81bbeb5bfb
2 changed files with 2 additions and 2 deletions

View File

@ -9,7 +9,7 @@ a:active {
}
body {
background-image: url(../Media/BG/0.gif);
background-image: url(/Web-ThirdParty-Unknown/Assets/Media/Backgrounds/0.gif);
background-size: cover;
margin: 0;
height: 100%;

View File

@ -1,6 +1,6 @@
function RandomGIF() {
GifID = Math.floor((Math.random() * 25)/2);
GifURL = "Web-ThirdParty-Unknown/Assets/Media/Backgrounds/" + GifID + ".gif";
GifURL = "/Web-ThirdParty-Unknown/Assets/Media/Backgrounds/" + GifID + ".gif";
document.body.style.backgroundImage = "url(" + GifURL + ")";
}