do not remove dashboard page accidently when restarting
This commit is contained in:
parent
3c198194aa
commit
7fead48b9d
|
@ -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();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue