diff options
Diffstat (limited to 'html')
-rw-r--r-- | html/mail.html | 4 |
1 files changed, 2 insertions, 2 deletions
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] |