X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=www%2Fjs%2Fremoteglot.js;h=01faf1aec858f3b603f14ee3ad04828e40f53a6f;hb=5e632ba764f5aa8bb109e7c9fa3d504fd274094f;hp=1e899298cef2997c7392376d1fc8126c78ed1cd0;hpb=70060c135b7ca0a8fe0838208c048a2b42e52614;p=remoteglot diff --git a/www/js/remoteglot.js b/www/js/remoteglot.js index 1e89929..01faf1a 100644 --- a/www/js/remoteglot.js +++ b/www/js/remoteglot.js @@ -1260,7 +1260,7 @@ var update_board = function() { if (!data['refutation_lines'] || !data['refutation_lines'][nonstupid_moves[i]] || !data['refutation_lines'][nonstupid_moves[i]]['pv'] || - data['refutation_lines'][nonstupid_moves[i]]['pv'].length < 1) { + data['refutation_lines'][nonstupid_moves[i]]['pv'].length < 2) { // Incomplete PV, abort. response = undefined; break;