From 4546a7392b125074ac99668882c215ba5cf9bcf0 Mon Sep 17 00:00:00 2001 From: error414 Date: Wed, 16 Oct 2024 18:20:16 +0200 Subject: [PATCH] speed up OSD tab loading if there are too many custom OSD elements. --- tabs/osd.js | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/tabs/osd.js b/tabs/osd.js index 45887c5bf..490625e2a 100644 --- a/tabs/osd.js +++ b/tabs/osd.js @@ -3549,6 +3549,7 @@ function createCustomElements(){ } var customElementsContainer = $('#osdCustomElements'); + var init = true; for(var i = 0; i < FC.OSD_CUSTOM_ELEMENTS.settings.customElementsCount; i++){ var label = $('