From: Art Cancro Date: Wed, 28 Dec 2022 22:07:46 +0000 (-0500) Subject: biff_interval is snake case not camel case X-Git-Tag: v973~54 X-Git-Url: https://code.citadel.org/?a=commitdiff_plain;h=ecef3a9becb6ff32c05085db7f04687badb054a4;p=citadel.git biff_interval is snake case not camel case --- diff --git a/webcit-ng/static/js/main.js b/webcit-ng/static/js/main.js index 070f05ef7..d40131e11 100644 --- a/webcit-ng/static/js/main.js +++ b/webcit-ng/static/js/main.js @@ -25,7 +25,6 @@ do_biff = async() => { // This is called at the very beginning of the main page load. ctdl_startup = async() => { - var BiffInterval; response = await fetch("/ctdl/c/info"); if (response.ok) { @@ -45,14 +44,14 @@ ctdl_startup = async() => { display_login_screen(""); // display the login modal. } - var BiffInterval; - try { // if this was already set up, clear it so there aren't multiple - clearInterval(BiffInterval); + var biff_interval; + try { // if this was already set up, + clearInterval(biff_interval); // clear the old one so there's only one. } catch { } do_biff(); - BiffInterval = setInterval(do_biff, 10000); + biff_interval = setInterval(do_biff, 10000); } else { document.getElementById("ctdl-main").innerHTML =