don't reload page when switching games
This commit is contained in:
parent
1eb253c92d
commit
7e0cdfbdc2
|
|
@ -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() {
|
||||
|
|
|
|||
Loading…
Reference in New Issue