don't reload page when switching games

This commit is contained in:
Jesse D. McDonald 2020-03-29 01:15:40 -05:00
parent 1eb253c92d
commit 7e0cdfbdc2
1 changed files with 0 additions and 8 deletions

View File

@ -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() {