safari compatibility
This commit is contained in:
parent
11c2c8afe3
commit
42f9fb52ed
@ -271,7 +271,7 @@ input[type=range]:focus::-ms-fill-upper
|
||||
#webrx-canvas-container
|
||||
{
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
overflow: visible;
|
||||
cursor: crosshair;
|
||||
height: 100%;
|
||||
}
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user