now the ascii animation is at the top
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user