mirror of
https://github.com/thooge/esp32-nmea2000-obp60.git
synced 2025-12-18 16:23:07 +01:00
do not remove dashboard page accidently when restarting
This commit is contained in:
@@ -1798,7 +1798,7 @@
|
|||||||
let id = el.getAttribute('id');
|
let id = el.getAttribute('id');
|
||||||
if (id) {
|
if (id) {
|
||||||
if (!names[id.replace(/^frame_/, '')]) {
|
if (!names[id.replace(/^frame_/, '')]) {
|
||||||
el.parentElement.remove();
|
el.remove();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user