]> code.citadel.org Git - citadel.git/blobdiff - webcit-ng/static/js/main.js
Use the Font Awesome 6.0.0 hosted version instead of 5.whatever ... note to self...
[citadel.git] / webcit-ng / static / js / main.js
index dd9db01f1c7315661da07551b1646cdb45785705..9c8767572a6ce449350830cf1a04d84ad99d5914 100644 (file)
 // GNU General Public License for more details.
 
 
-// Placeholder for when we add i18n later
-function _(x) {
-       return x;
-}
-
-
 // This is called at the very beginning of the main page load.
 ctdl_startup = async() => {
        response = await fetch("/ctdl/c/info");
@@ -55,6 +49,9 @@ function update_banner() {
        if (current_room) {
                document.getElementById("ctdl_banner_title").innerHTML = current_room;
                document.title = current_room;
+
+
+
        }
        else {
                document.getElementById("ctdl_banner_title").innerHTML = serv_info.serv_humannode;
@@ -103,13 +100,11 @@ function gotonext(which_oper) {
 
        if ((which_oper == 1) || (which_oper == 2)) {           // Skip or Goto both take us to the "next" room
                if (march_list.length == 0) {
-                       console.log("Loading march list");
                        load_new_march_list(which_oper);        // we will recurse back here
                }
                else {
                        next_room = march_list[0].name;
                        march_list.splice(0, 1);
-                       console.log("going to " + next_room + " , " + march_list.length + " rooms remaining");
                        gotoroom(next_room);
                }
        }