From 7e0cdfbdc29e60d4515bd9907ce49500fb3bd095 Mon Sep 17 00:00:00 2001 From: Jesse McDonald Date: Sun, 29 Mar 2020 01:15:40 -0500 Subject: [PATCH] don't reload page when switching games --- js/pacosako_ui.js | 8 -------- 1 file changed, 8 deletions(-) diff --git a/js/pacosako_ui.js b/js/pacosako_ui.js index 7bfa67b..0b84ebc 100644 --- a/js/pacosako_ui.js +++ b/js/pacosako_ui.js @@ -449,14 +449,6 @@ $(function (){ boardElem.data('gameId', newId); location.hash = '#/' + newId; - if (gameId) { - //gun.get(PacoSakoUUID).get('games').get(gameId).off(); - //gun.get(PacoSakoUUID).get('meta').get(gameId).off(); - - location.reload(); - return; - } - const notifyAfter = new Date().getTime() + 2000; $(window).data('notifyAfter', new Date().getTime() + 2000); window.setTimeout(function() {