From: Steinar H. Gunderson Date: Sun, 21 Jun 2015 23:40:40 +0000 (+0200) Subject: Fix an issue where switching backends would cause the gong to go off. X-Git-Url: https://git.sesse.net/?p=remoteglot;a=commitdiff_plain;h=4f754b372829496a9f53eb52923446cc2a0398c1 Fix an issue where switching backends would cause the gong to go off. --- diff --git a/www/js/remoteglot.js b/www/js/remoteglot.js index f21273e..30f2d06 100644 --- a/www/js/remoteglot.js +++ b/www/js/remoteglot.js @@ -1387,6 +1387,7 @@ var switch_backend = function(new_backend_url) { // Request an immediate fetch with the new backend. backend_url = new_backend_url; + current_analysis_data = null; ims = 0; request_update(); }