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;
|
break;
|
||||||
case "features":
|
case "features":
|
||||||
var features = json['value'];
|
Modes.setFeatures(json['value']);
|
||||||
Modes.setFeatures(features);
|
|
||||||
for (var feature in features) {
|
|
||||||
if (features.hasOwnProperty(feature)) {
|
|
||||||
$('[data-feature="' + feature + '"]')[features[feature] ? "show" : "hide"]();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
break;
|
break;
|
||||||
case "metadata":
|
case "metadata":
|
||||||
update_metadata(json['value']);
|
update_metadata(json['value']);
|
||||||
|
Loading…
Reference in New Issue
Block a user