Shave a few bytes.
This commit is contained in:
parent
9c6dda9bd2
commit
31a4e38bc0
@ -232,6 +232,7 @@ function onLoad()
|
|||||||
var sett = localStorage.getItem('wledUiCfg');
|
var sett = localStorage.getItem('wledUiCfg');
|
||||||
if (sett) cfg = mergeDeep(cfg, JSON.parse(sett));
|
if (sett) cfg = mergeDeep(cfg, JSON.parse(sett));
|
||||||
|
|
||||||
|
tooltip();
|
||||||
resetPUtil();
|
resetPUtil();
|
||||||
|
|
||||||
if (localStorage.getItem('pcm') == "true" || (!/Mobi/.test(navigator.userAgent) && localStorage.getItem('pcm') == null)) togglePcMode(true);
|
if (localStorage.getItem('pcm') == "true" || (!/Mobi/.test(navigator.userAgent) && localStorage.getItem('pcm') == null)) togglePcMode(true);
|
||||||
@ -2974,11 +2975,13 @@ function tooltip()
|
|||||||
});
|
});
|
||||||
|
|
||||||
element.addEventListener("mouseout", ()=>{
|
element.addEventListener("mouseout", ()=>{
|
||||||
const tooltip = d.querySelector('.tooltip');
|
const tooltips = d.querySelectorAll('.tooltip');
|
||||||
|
tooltips.forEach((tooltip)=>{
|
||||||
tooltip.classList.remove("visible");
|
tooltip.classList.remove("visible");
|
||||||
d.body.removeChild(tooltip);
|
d.body.removeChild(tooltip);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
size();
|
size();
|
||||||
@ -2992,5 +2995,3 @@ _C.addEventListener('touchstart', lock, false);
|
|||||||
_C.addEventListener('mouseout', move, false);
|
_C.addEventListener('mouseout', move, false);
|
||||||
_C.addEventListener('mouseup', move, false);
|
_C.addEventListener('mouseup', move, false);
|
||||||
_C.addEventListener('touchend', move, false);
|
_C.addEventListener('touchend', move, false);
|
||||||
|
|
||||||
d.addEventListener('DOMContentLoaded', tooltip);
|
|
2215
wled00/html_ui.h
2215
wled00/html_ui.h
File diff suppressed because it is too large
Load Diff
@ -533,6 +533,7 @@ void handleNotifications()
|
|||||||
//wled notifier, ignore if realtime packets active
|
//wled notifier, ignore if realtime packets active
|
||||||
if (udpIn[0] == 0 && !realtimeMode && receiveGroups)
|
if (udpIn[0] == 0 && !realtimeMode && receiveGroups)
|
||||||
{
|
{
|
||||||
|
DEBUG_PRINT(F("UDP notification from: ")); DEBUG_PRINTLN(notifierUdp.remoteIP());
|
||||||
parseNotifyPacket(udpIn);
|
parseNotifyPacket(udpIn);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
// version code in format yymmddb (b = daily build)
|
// version code in format yymmddb (b = daily build)
|
||||||
#define VERSION 2310280
|
#define VERSION 2310300
|
||||||
|
|
||||||
//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