safari compatibility

This commit is contained in:
Jakob Ketterl 2019-11-26 21:35:22 +01:00
parent 11c2c8afe3
commit 42f9fb52ed
2 changed files with 2 additions and 2 deletions

View File

@ -271,7 +271,7 @@ input[type=range]:focus::-ms-fill-upper
#webrx-canvas-container
{
position: relative;
overflow: hidden;
overflow: visible;
cursor: crosshair;
height: 100%;
}

View File

@ -1108,7 +1108,7 @@ function on_ws_recv(evt) {
var features = json['value'];
for (var feature in features) {
if (features.hasOwnProperty(feature)) {
$('[data-feature="' + feature + '"')[features[feature] ? "show" : "hide"]();
$('[data-feature="' + feature + '"]')[features[feature] ? "show" : "hide"]();
}
}
break;