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 329
329
< div >
330
330
< button class ="btn ibtn " onclick ="requestJson() "> Refresh</ button >
331
331
< 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 >
333
333
< button class ="btn ibtn " id ="resetbtn " onclick ="cnfReset() "> Reboot WLED</ button >
334
334
</ div >
335
335
< br >
Original file line number Diff line number Diff line change @@ -685,6 +685,7 @@ function parseInfo(i) {
685
685
gId ( "filter2D" ) . classList . remove ( 'hide' ) ;
686
686
gId ( 'bs' ) . querySelectorAll ( 'option[data-type="2D"]' ) . forEach ( ( o , i ) => { o . style . display = '' ; } ) ;
687
687
}
688
+ gId ( "updBt" ) . style . display = ( i . opt & 1 ) ? '' :'none' ;
688
689
// if (i.noaudio) {
689
690
// gId("filterVol").classList.add("hide");
690
691
// gId("filterFreq").classList.add("hide");
Original file line number Diff line number Diff line change 22
22
// You are required to disable over-the-air updates:
23
23
// #define WLED_DISABLE_OTA // saves 14kb
24
24
#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
25
28
#undef WLED_DISABLE_OTA
26
29
#endif
27
30
You can’t perform that action at this time.
0 commit comments