From fead90a29e10a89a51fa5b1a0c821b3531d3bd30 Mon Sep 17 00:00:00 2001 From: Baipyrus Date: Thu, 12 Jan 2023 14:44:22 +0100 Subject: [PATCH] moved first pretext to html --- index.html | 1 + js/main.js | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/index.html b/index.html index c568475..30ab720 100644 --- a/index.html +++ b/index.html @@ -10,6 +10,7 @@
 
+ root@baipyr.us:~#
diff --git a/js/main.js b/js/main.js index 2287ce3..2f8f90f 100644 --- a/js/main.js +++ b/js/main.js @@ -4,7 +4,6 @@ let cursorPosition = 0; let cursorYOffset = 0; const tbDiv = document.getElementById("textbox"); -tbDiv.innerHTML = pretext+tbDiv.innerHTML; const length = tbDiv.innerText.length+1; startPosition = length; cursorPosition = length;