Fix sidebar js errors after close
This commit is contained in:
parent
92e4dd64d1
commit
0b1ef00077
2 changed files with 6 additions and 7 deletions
|
@ -388,10 +388,9 @@ class Sidebar extends Class
|
|||
@globe.animate()
|
||||
catch e
|
||||
console.log "WebGL error", e
|
||||
if @tag
|
||||
@tag.find(".globe").addClass("error").text("WebGL not supported")
|
||||
@tag?.find(".globe").addClass("error").text("WebGL not supported")
|
||||
|
||||
@tag.find(".globe").removeClass("loading")
|
||||
@tag?.find(".globe").removeClass("loading")
|
||||
|
||||
|
||||
unloadGlobe: =>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue