Commit 4a386c37 authored by Rahix's avatar Rahix 🦀
Browse files

Merge 'Hide level loading DIV'

See merge request !27
parents 8ef4c0dd 388137f7
......@@ -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);
loadingDiv.style.display = "hidden";
loadingSequence += 1;
loadingDiv.innerHTML = svgText;
document.body.appendChild(loadingDiv);
......
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