fixed issue where oneko.gif was not referenced correctly, causing invisible neko
This commit is contained in:
parent
ac5c83b87d
commit
89cb563793
@ -96,7 +96,7 @@
|
|||||||
nekoEl.style.top = `${nekoPosY - 16}px`;
|
nekoEl.style.top = `${nekoPosY - 16}px`;
|
||||||
nekoEl.style.zIndex = 2147483647;
|
nekoEl.style.zIndex = 2147483647;
|
||||||
|
|
||||||
let nekoFile = "./oneko.gif"
|
let nekoFile = "/static/themes/simple/js/oneko.gif"
|
||||||
const curScript = document.currentScript
|
const curScript = document.currentScript
|
||||||
if (curScript && curScript.dataset.cat) {
|
if (curScript && curScript.dataset.cat) {
|
||||||
nekoFile = curScript.dataset.cat
|
nekoFile = curScript.dataset.cat
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user