File tree Expand file tree Collapse file tree 3 files changed +5
-1
lines changed
Expand file tree Collapse file tree 3 files changed +5
-1
lines changed Original file line number Diff line number Diff line change 329329 < div >
330330 < button class ="btn ibtn " onclick ="requestJson() "> Refresh</ button >
331331 < button class ="btn ibtn " onclick ="toggleNodes() "> Instance List</ button >
332- < button class ="btn ibtn " onclick ="window.open(getURL('/update'),'_self'); "> Update WLED</ button >
332+ < button class ="btn ibtn " onclick ="window.open(getURL('/update'),'_self'); " id =" updBt " > Update WLED</ button >
333333 < button class ="btn ibtn " id ="resetbtn " onclick ="cnfReset() "> Reboot WLED</ button >
334334 </ div >
335335 < br >
Original file line number Diff line number Diff line change @@ -685,6 +685,7 @@ function parseInfo(i) {
685685 gId ( "filter2D" ) . classList . remove ( 'hide' ) ;
686686 gId ( 'bs' ) . querySelectorAll ( 'option[data-type="2D"]' ) . forEach ( ( o , i ) => { o . style . display = '' ; } ) ;
687687 }
688+ gId ( "updBt" ) . style . display = ( i . opt & 1 ) ? '' :'none' ;
688689// if (i.noaudio) {
689690// gId("filterVol").classList.add("hide");
690691// gId("filterFreq").classList.add("hide");
Original file line number Diff line number Diff line change 2222// You are required to disable over-the-air updates:
2323// #define WLED_DISABLE_OTA // saves 14kb
2424#ifdef WLED_ENABLE_AOTA
25+ #if defined(WLED_DISABLE_OTA)
26+ #warning WLED_DISABLE_OTA was defined but it will be ignored due to WLED_ENABLE_AOTA.
27+ #endif
2528 #undef WLED_DISABLE_OTA
2629#endif
2730
You can’t perform that action at this time.
0 commit comments