From bc3e025a98d35c099d2e4f0e49139396f8fb4400 Mon Sep 17 00:00:00 2001 From: "Konstantin (DigitalEntity) Sharlaimov" Date: Sat, 23 Jul 2016 07:22:16 +0300 Subject: [PATCH] Bugfix for hanging 'disconnect' button --- js/serial_backend.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/js/serial_backend.js b/js/serial_backend.js index cfe34beb..582dc64a 100755 --- a/js/serial_backend.js +++ b/js/serial_backend.js @@ -73,8 +73,7 @@ $(document).ready(function () { // Reset various UI elements $('span.i2c-error').text(0); $('span.cycle-time').text(0); - if (semver.gte(CONFIG.flightControllerVersion, "1.2.0")) - $('span.cpu-load').text(''); + $('span.cpu-load').text(''); // unlock port select & baud $('div#port-picker #port').prop('disabled', false);