From 80dc8455242d1fed7c0efeee1e790d1b0693726d Mon Sep 17 00:00:00 2001 From: slweeb <91897291+slweeb@users.noreply.github.com> Date: Tue, 6 Aug 2024 15:51:28 -0400 Subject: [PATCH] hotfix --- index.html | 8 ++++---- mod-list.html | 1 + 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/index.html b/index.html index 04fcedf3..750b14ce 100644 --- a/index.html +++ b/index.html @@ -15060,12 +15060,12 @@ behaviorRules = { categoryButton.setAttribute("current", true); } function setView(n) { - if (viewInfo[n]) { - view = n; - } - else { // reset view + if (!viewInfo[n] || n === 1) { // reset view view = null; } + else { + view = n; + } } function centerMouse() { mousePos = {x:width/2,y:height/2}; diff --git a/mod-list.html b/mod-list.html index 1878a711..07bba2b9 100644 --- a/mod-list.html +++ b/mod-list.html @@ -347,6 +347,7 @@