close prior notifications when updating game state

This commit is contained in:
Jesse D. McDonald 2020-03-29 16:40:48 -05:00
parent 1f0442cadb
commit d5b3594e57
1 changed files with 2 additions and 0 deletions

View File

@ -368,6 +368,8 @@ $(function (){
} }
function setCurrentGame(game, animate) { function setCurrentGame(game, animate) {
closeNotifications();
currentGame = game; currentGame = game;
setVisibleGame(game, animate); setVisibleGame(game, animate);