From: Steinar H. Gunderson Date: Wed, 16 Nov 2016 17:05:18 +0000 (+0100) Subject: Revert "Fix a null pointer exception in the frontend." X-Git-Url: https://git.sesse.net/?p=remoteglot;a=commitdiff_plain;h=619f444e5eafb0f602d848ec13d70148cd90a16b;hp=94f448c82ea3da610c8aca0030f977d1f54741d6 Revert "Fix a null pointer exception in the frontend." Seemingly this caused the multi-PV lines not to show up at all for some people. This reverts commit 94f448c82ea3da610c8aca0030f977d1f54741d6. --- diff --git a/www/js/remoteglot.js b/www/js/remoteglot.js index 333bd5c..b049c32 100644 --- a/www/js/remoteglot.js +++ b/www/js/remoteglot.js @@ -772,7 +772,7 @@ window['collapse_history'] = collapse_history; * Also recreates the global "display_lines". */ var update_refutation_lines = function() { - if (base_fen === null || current_display_line === null) { + if (base_fen === null) { return; } if (display_lines.length > 2) {