UI sync button refresh fix.
This commit is contained in:
parent
4127882e5f
commit
380006c9d8
@ -1189,7 +1189,7 @@ function toggleNl()
|
|||||||
if (nlA) showToast(`Timer active. Your light will turn ${nlTar > 0 ? "on":"off"} ${nlFade ? "over":"after"} ${nlDur} minutes.`);
|
if (nlA) showToast(`Timer active. Your light will turn ${nlTar > 0 ? "on":"off"} ${nlFade ? "over":"after"} ${nlDur} minutes.`);
|
||||||
else showToast('Timer deactivated.');
|
else showToast('Timer deactivated.');
|
||||||
var obj = {"nl": {"on": nlA}};
|
var obj = {"nl": {"on": nlA}};
|
||||||
requestJson(obj, false, noWS);
|
requestJson(obj, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
function toggleSync()
|
function toggleSync()
|
||||||
@ -1199,7 +1199,7 @@ function toggleSync()
|
|||||||
else showToast('This light and other lights in the network will no longer sync.');
|
else showToast('This light and other lights in the network will no longer sync.');
|
||||||
var obj = {"udpn": {"send": syncSend}};
|
var obj = {"udpn": {"send": syncSend}};
|
||||||
if (syncTglRecv) obj.udpn.recv = syncSend;
|
if (syncTglRecv) obj.udpn.recv = syncSend;
|
||||||
requestJson(obj, false, noWS);
|
requestJson(obj, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
function toggleLiveview()
|
function toggleLiveview()
|
||||||
|
1388
wled00/html_ui.h
1388
wled00/html_ui.h
File diff suppressed because it is too large
Load Diff
@ -8,7 +8,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
// version code in format yymmddb (b = daily build)
|
// version code in format yymmddb (b = daily build)
|
||||||
#define VERSION 2103311
|
#define VERSION 2103312
|
||||||
|
|
||||||
//uncomment this if you have a "my_config.h" file you'd like to use
|
//uncomment this if you have a "my_config.h" file you'd like to use
|
||||||
//#define WLED_USE_MY_CONFIG
|
//#define WLED_USE_MY_CONFIG
|
||||||
|
Loading…
Reference in New Issue
Block a user