Disconnected
(please re-start HappyFunTimes)
diff --git a/public/how.html b/public/how.html
index 0b5421dd..acc3695e 100644
--- a/public/how.html
+++ b/public/how.html
@@ -34,52 +34,11 @@
-
HappyFunTimes
-
-
-
-
HappyFunTimessuper-alpha
-
-
-
-
How To Play
-
- All players must connect their phones to
- the same WiFi as this computer then go to
- happyfuntimes.net
-
-
- Got It!
-
-
-
-
-
-
-
Disconnected
(please re-start HappyFunTimes)
-
-
-
-
-
diff --git a/public/scripts/showavailablegames.js b/public/scripts/showavailablegames.js
index 135dfd13..14343354 100644
--- a/public/scripts/showavailablegames.js
+++ b/public/scripts/showavailablegames.js
@@ -55,6 +55,7 @@ requirejs(
gamesById: {},
hftData: {},
};
+ misc.applyUrlSettings(g);
g.dd = new DragDropManager({
inputElem: document.body,
@@ -426,9 +427,11 @@ requirejs(
(function() {
var elem = document.querySelector(".unhidden-msg");
- if (elem) {
+ if (elem && g.how) {
+ window.history.replaceState({}, "", window.location.origin + window.location.pathname);
+ elem.style.display = "block";
elem.addEventListener('click', function() {
- window.location.href = elem.getAttribute("target");
+ elem.style.display = "none";
}, false);
}
}());