Remove unnnecessary debug

This commit is contained in:
shortcutme 2018-10-20 02:22:20 +02:00
parent 13731fb094
commit 5414691f1f
No known key found for this signature in database
GPG key ID: 5B63BAE6CB9613AE

View file

@ -49,7 +49,6 @@ class Wrapper
throw "Event not trusted"
if e.originalEvent.constructor not in @allowed_event_constructors
debugger
throw "Invalid event constructor: #{e.constructor} not in #{JSON.stringify(@allowed_event_constructors)}"
if e.originalEvent.currentTarget != allowed_target[0]
@ -440,7 +439,6 @@ class Wrapper
window.document.title = @site_info.content.title+" - ZeroNet"
@log "Setting title to", window.document.title
onWrapperLoad: =>
# Cleanup secret variables
delete window.wrapper