Commit 81c18d41 by Sendya

fix: IE dom.remove() not a function

parent 4732358b
......@@ -30,6 +30,6 @@ export function removeLoadingAnimate(id = '', timeout = 1500) {
return
}
setTimeout(() => {
document.getElementById(id).remove()
document.body.removeChild(document.getElementById(id))
}, timeout)
}
\ No newline at end of file
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