ha-frontend-cdce8p/src/util/init-skeleton.ts
Paulus Schoutsen fb16156f8d
Fix routetail + config subrouting (#2951)
* Fix routetail + config subrouting

* Do not update panel when loading a new one

* Fix init skeleton not removed during loading
2019-03-16 23:15:00 -07:00

7 lines
174 B
TypeScript

export const removeInitSkeleton = () => {
const initEl = document.getElementById("ha-init-skeleton");
if (initEl) {
initEl.parentElement!.removeChild(initEl);
}
};