Commit 388137f7 authored by Simon Goller's avatar Simon Goller
Browse files

Hide level loading DIV

Hiding the `DIV` which stores the SVG level when it's loaded
in order to prevent it from popping up during the loading
parent 8ef4c0dd
......@@ -6,6 +6,7 @@ export async function load_svg(url: string): Promise<string> {
const loadingDiv = document.createElement("div");
const loadingDivId = `loading-div-${loadingSequence}`
loadingDiv.setAttribute("id", loadingDivId); = "hidden";
loadingSequence += 1;
loadingDiv.innerHTML = svgText;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment