now the ascii animation is at the top

This commit is contained in:
Priec
2026-06-02 14:46:28 +02:00
parent 462a53853f
commit 695dad519d
2 changed files with 22 additions and 21 deletions

View File

@@ -12,14 +12,12 @@
function init() {
if (typeof window.TP_MOUNTAIN_FRAMES === "undefined") return;
if (document.querySelector("[data-tp-mountain]")) return;
var pre = document.createElement("pre");
pre.className = "tp-mountain-frame";
var pre = document.querySelector("#tp-mountain-bg");
if (!pre) return;
pre.setAttribute("data-tp-mountain", "");
pre.setAttribute("aria-hidden", "true");
pre.textContent = window.TP_MOUNTAIN_FRAMES[0];
document.body.appendChild(pre);
var n = window.TP_MOUNTAIN_N_FRAMES;
var fps = window.TP_MOUNTAIN_FPS;