Fix WebGL error after sidebar close
This commit is contained in:
parent
131a51fbdc
commit
b33499b7b5
1 changed files with 2 additions and 1 deletions
|
@ -388,6 +388,7 @@ 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").removeClass("loading")
|
||||
|
|
Loading…
Reference in a new issue