From 42f9fb52ed2655ce79d693f9b0206069012f4083 Mon Sep 17 00:00:00 2001 From: Jakob Ketterl Date: Tue, 26 Nov 2019 21:35:22 +0100 Subject: [PATCH] safari compatibility --- htdocs/css/openwebrx.css | 2 +- htdocs/openwebrx.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/css/openwebrx.css b/htdocs/css/openwebrx.css index 1cd60b5..0182a61 100644 --- a/htdocs/css/openwebrx.css +++ b/htdocs/css/openwebrx.css @@ -271,7 +271,7 @@ input[type=range]:focus::-ms-fill-upper #webrx-canvas-container { position: relative; - overflow: hidden; + overflow: visible; cursor: crosshair; height: 100%; } diff --git a/htdocs/openwebrx.js b/htdocs/openwebrx.js index 93d3c2c..38b7c09 100644 --- a/htdocs/openwebrx.js +++ b/htdocs/openwebrx.js @@ -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;