From 6f0410dabf3794c2f30748f55a4a939f26b0acff Mon Sep 17 00:00:00 2001 From: grant-kun Date: Mon, 17 Oct 2022 11:18:41 -0500 Subject: json to sqlite --- html/mail.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'html/mail.html') diff --git a/html/mail.html b/html/mail.html index 7edc9a2..7dc9951 100644 --- a/html/mail.html +++ b/html/mail.html @@ -371,7 +371,7 @@ function del(index) { preview = index //to not view in side revved = emails.reverse() - index = revved.indexOf(emails[index]) - 1 + index = revved.indexOf(emails[index]) + 1 //pretty proud of this reverse indexer :) sendenc('/del', { 'index': index, 'fuck you': true, 'user': 'root', 'login_key': getCookie('login_key'), 'requested': 0 }) } @@ -436,7 +436,7 @@ if (getCookie('login_key') == null) { window.location.href = '/' } - await update() + await init() //return //document.getElementsByClassName('loading')[0].style.display = 'none' let xx = document.getElementsByClassName('card')[0] -- cgit v1.2.3