From 449b3b39860e90583aec95d89dbf64e5b8a14ba9 Mon Sep 17 00:00:00 2001 From: Jakob Ketterl Date: Sun, 26 Apr 2020 17:19:05 +0200 Subject: [PATCH] features no longer used on this level --- htdocs/openwebrx.js | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/htdocs/openwebrx.js b/htdocs/openwebrx.js index 9798d19..cd08808 100644 --- a/htdocs/openwebrx.js +++ b/htdocs/openwebrx.js @@ -1122,13 +1122,7 @@ function on_ws_recv(evt) { } break; case "features": - var features = json['value']; - Modes.setFeatures(features); - for (var feature in features) { - if (features.hasOwnProperty(feature)) { - $('[data-feature="' + feature + '"]')[features[feature] ? "show" : "hide"](); - } - } + Modes.setFeatures(json['value']); break; case "metadata": update_metadata(json['value']);