Shave a few bytes.
This commit is contained in:
parent
9c6dda9bd2
commit
31a4e38bc0
@ -232,6 +232,7 @@ function onLoad()
|
||||
var sett = localStorage.getItem('wledUiCfg');
|
||||
if (sett) cfg = mergeDeep(cfg, JSON.parse(sett));
|
||||
|
||||
tooltip();
|
||||
resetPUtil();
|
||||
|
||||
if (localStorage.getItem('pcm') == "true" || (!/Mobi/.test(navigator.userAgent) && localStorage.getItem('pcm') == null)) togglePcMode(true);
|
||||
@ -2974,11 +2975,13 @@ function tooltip()
|
||||
});
|
||||
|
||||
element.addEventListener("mouseout", ()=>{
|
||||
const tooltip = d.querySelector('.tooltip');
|
||||
const tooltips = d.querySelectorAll('.tooltip');
|
||||
tooltips.forEach((tooltip)=>{
|
||||
tooltip.classList.remove("visible");
|
||||
d.body.removeChild(tooltip);
|
||||
});
|
||||
});
|
||||
});
|
||||
};
|
||||
|
||||
size();
|
||||
@ -2992,5 +2995,3 @@ _C.addEventListener('touchstart', lock, false);
|
||||
_C.addEventListener('mouseout', move, false);
|
||||
_C.addEventListener('mouseup', 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
|
||||
if (udpIn[0] == 0 && !realtimeMode && receiveGroups)
|
||||
{
|
||||
DEBUG_PRINT(F("UDP notification from: ")); DEBUG_PRINTLN(notifierUdp.remoteIP());
|
||||
parseNotifyPacket(udpIn);
|
||||
return;
|
||||
}
|
||||
|
@ -8,7 +8,7 @@
|
||||
*/
|
||||
|
||||
// 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
|
||||
//#define WLED_USE_MY_CONFIG
|
||||
|
Loading…
Reference in New Issue
Block a user