Fix WebGL error after sidebar close

This commit is contained in:
ZeroNet 2016-08-10 12:53:31 +02:00
parent 131a51fbdc
commit b33499b7b5

View file

@ -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")