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
|
#webrx-canvas-container
|
||||||
{
|
{
|
||||||
position: relative;
|
position: relative;
|
||||||
overflow: hidden;
|
overflow: visible;
|
||||||
cursor: crosshair;
|
cursor: crosshair;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
}
|
}
|
||||||
|
@ -1108,7 +1108,7 @@ function on_ws_recv(evt) {
|
|||||||
var features = json['value'];
|
var features = json['value'];
|
||||||
for (var feature in features) {
|
for (var feature in features) {
|
||||||
if (features.hasOwnProperty(feature)) {
|
if (features.hasOwnProperty(feature)) {
|
||||||
$('[data-feature="' + feature + '"')[features[feature] ? "show" : "hide"]();
|
$('[data-feature="' + feature + '"]')[features[feature] ? "show" : "hide"]();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user