tangled
alpha
login
or
join now
nel.pet
/
www.nelind.dk
0
fork
atom
this repo has no description
0
fork
atom
overview
issues
pulls
pipelines
add oneko to projects page
nel.pet
9 months ago
0fbef964
6ab08907
+4
-1
2 changed files
expand all
collapse all
unified
split
oneko.js
projects
index.html
+2
-1
oneko.js
···
98
98
nekoEl.style.top = `${nekoPosY - 16}px`;
99
99
nekoEl.style.zIndex = Number.MAX_VALUE;
100
100
101
101
-
let nekoFile = "./oneko.gif"
101
101
+
// Personal edit: Fetch gif from root not relative path
102
102
+
let nekoFile = "/oneko.gif"
102
103
const curScript = document.currentScript
103
104
if (curScript && curScript.dataset.cat) {
104
105
nekoFile = curScript.dataset.cat
+2
projects/index.html
···
8
8
<link rel="stylesheet" href="/style.css">
9
9
<link rel="stylesheet" href="projects.css">
10
10
<script defer data-domain="nelind.dk" src="https://plausible.nelind.dk/js/script.js"></script>
11
11
+
<script defer src="/oneko.js"></script>
11
12
</head>
12
13
<body>
14
14
+
<div id="oneko"></div>
13
15
14
16
<header class="page-header">
15
17
<nav>