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']);