diff --git a/public/games.html b/public/games.html index 21c8fda3..6b7f8ac5 100644 --- a/public/games.html +++ b/public/games.html @@ -97,6 +97,21 @@

visit superhappyfuntimes.net for mor +
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)
-
-
-
-
-
Exited
(over and out!)
SuperHappyFunTimes
-
-
- - 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); } }());