From 179801f9ea461eefae3e724fe534e9426bd6bae3 Mon Sep 17 00:00:00 2001 From: Art Cancro Date: Tue, 19 Dec 2023 23:12:38 -0500 Subject: [PATCH] I really like template literals. And now that I know how to use them, I will be using more of them. --- webcit-ng/static/js/view_mail.js | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/webcit-ng/static/js/view_mail.js b/webcit-ng/static/js/view_mail.js index 4b2470021..e78560a84 100644 --- a/webcit-ng/static/js/view_mail.js +++ b/webcit-ng/static/js/view_mail.js @@ -346,14 +346,14 @@ function view_render_mail() { d.style.display = "block"; //d.addEventListener("click", mail_delete_selected); - document.getElementById("ctdl-main").innerHTML - = "
" - + "
" - + "
" - + "
" - ; + document.getElementById("ctdl-main").innerHTML = ` +
+
+
+
+ `; - highest_mailnum = 0; // Keep track of highest message number to track newly arrived messages + highest_mailnum = 0; // Keep track of highest msg number to track newly arrived msgs render_mailbox_display(newmail_notify.NO); try { // if this was already set up, clear it so there aren't multiple clearInterval(RefreshMailboxInterval); -- 2.30.2