features no longer used on this level
This commit is contained in:
parent
39f9d4c273
commit
449b3b3986
@ -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']);
|
||||
|
Loading…
Reference in New Issue
Block a user