fix analysis action menu for unsaved/fen games
moveTimes was null on http://en.l.org/analysis or when pressing analyse on board editor and analysing from a fen string
This commit is contained in:
parent
35eff27965
commit
18d3205bab
|
@ -5,5 +5,7 @@ module.exports = function(old, cfg) {
|
|||
if (cfg.game.moves) data.game.moves = data.game.moves.split(' ');
|
||||
else data.game.moves = [];
|
||||
|
||||
if (!cfg.game.moveTimes) data.game.moveTimes = [];
|
||||
|
||||
return data;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue