From 125b21734ebd5de877b06323a5d6e5a77ce17928 Mon Sep 17 00:00:00 2001 From: Darren Lines Date: Mon, 20 Jun 2022 22:33:22 +0100 Subject: Fix reappearing elements that should be hidden from DJI This fixes an issue where changing the OSD layout will ignore the DJI **Hide unsupported elements** toggle. Fixes #1554 --- tabs/osd.js | 1 + 1 file changed, 1 insertion(+) diff --git a/tabs/osd.js b/tabs/osd.js index 8c3757cc..b789095e 100644 --- a/tabs/osd.js +++ b/tabs/osd.js @@ -2787,6 +2787,7 @@ OSD.GUI.updateAll = function() { layouts.on('change', function() { OSD.updateSelectedLayout(parseInt(layouts.val())); OSD.GUI.updateFields(); + OSD.GUI.updateDjiView($('#djiUnsupportedElements').find('input').is(':checked')); OSD.GUI.updatePreviews(); }); } else { -- cgit v1.2.3