From d7666987e9e12332f738f621e35b98cbaebea0e8 Mon Sep 17 00:00:00 2001 From: LordGrey <48840279+Lord-Grey@users.noreply.github.com> Date: Sat, 30 Sep 2023 18:27:05 +0200 Subject: [PATCH] Fix Wizard --- assets/webconfig/js/wizard.js | 34 +++++++++++++++++++--------------- 1 file changed, 19 insertions(+), 15 deletions(-) diff --git a/assets/webconfig/js/wizard.js b/assets/webconfig/js/wizard.js index 9c7534a4..79fc9182 100755 --- a/assets/webconfig/js/wizard.js +++ b/assets/webconfig/js/wizard.js @@ -718,12 +718,7 @@ function startWizardPhilipsHue(e) { $('#wizp1_footer').html(''); $('#wizp2_body').html('
'); - var hidePort = "hidden-lg"; - if (storedAccess === 'expert') { - hidePort = ""; - } - - $('#wh_topcontainer').append('' + $.i18n(hue_desc1) + '
' + + var topContainer_html = '' + $.i18n(hue_desc1) + '
' + '' + $.i18n('wiz_hue_ip') + '
' - ); - $('#wh_topcontainer').append(); - $('#wh_topcontainer').append(''); + ' '; + + if (storedAccess === 'expert') { + topContainer_html += '
'; + topContainer_html += ''; + + $('#wh_topcontainer').append(topContainer_html); $('#usrcont').append('
' + $.i18n('wiz_hue_username') + '