File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 8080< button type =submit id ="b " onclick ="window.location=getURL('/') "> Back</ button >
8181< button type ="submit " onclick ="window.location=getURL('/settings/wifi') "> WiFi Setup</ button >
8282< button type ="submit " onclick ="window.location=getURL('/settings/leds') "> LED Preferences</ button >
83- < button id ="2dbtn " style =" display:none; " type ="submit " onclick ="window.location=getURL('/settings/2D') "> 2D Configuration</ button >
83+ < button id ="2dbtn " type ="submit " onclick ="window.location=getURL('/settings/2D') "> 2D Configuration</ button >
8484< button type ="submit " onclick ="window.location=getURL('/settings/ui') "> User Interface</ button >
8585< button id ="dmxbtn " style ="display:none; " type ="submit " onclick ="window.location=getURL('/settings/dmx') "> DMX Output</ button >
8686< button type ="submit " onclick ="window.location=getURL('/settings/sync') "> Sync Interfaces</ button >
Original file line number Diff line number Diff line change @@ -238,8 +238,8 @@ void getSettingsJS(byte subPage, char* dest)
238238
239239 if (subPage == SUBPAGE_MENU)
240240 {
241- #ifndef WLED_DISABLE_2D // include only if 2D is compiled in
242- oappend (PSTR (" gId('2dbtn').style.display='';" ));
241+ #ifdef WLED_DISABLE_2D // include only if 2D is not compiled in
242+ oappend (PSTR (" gId('2dbtn').style.display='none ';" ));
243243 #endif
244244 #ifdef WLED_ENABLE_DMX // include only if DMX is enabled
245245 oappend (PSTR (" gId('dmxbtn').style.display='';" ));
You can’t perform that action at this time.
0 commit comments