diff --git a/js/chess.js b/js/chess.js index 86cb568..777f547 100644 --- a/js/chess.js +++ b/js/chess.js @@ -821,6 +821,9 @@ $(function (){ switchGameId(gameId); } }; + + /* force page reload after four hours to keep client code up to date */ + window.setTimeout(function(){ location.reload(); }, 4*3600*1000); }); /* vim:set expandtab sw=3 ts=8: */