Remove unnnecessary debug
This commit is contained in:
parent
13731fb094
commit
5414691f1f
1 changed files with 0 additions and 2 deletions
|
@ -49,7 +49,6 @@ class Wrapper
|
||||||
throw "Event not trusted"
|
throw "Event not trusted"
|
||||||
|
|
||||||
if e.originalEvent.constructor not in @allowed_event_constructors
|
if e.originalEvent.constructor not in @allowed_event_constructors
|
||||||
debugger
|
|
||||||
throw "Invalid event constructor: #{e.constructor} not in #{JSON.stringify(@allowed_event_constructors)}"
|
throw "Invalid event constructor: #{e.constructor} not in #{JSON.stringify(@allowed_event_constructors)}"
|
||||||
|
|
||||||
if e.originalEvent.currentTarget != allowed_target[0]
|
if e.originalEvent.currentTarget != allowed_target[0]
|
||||||
|
@ -440,7 +439,6 @@ class Wrapper
|
||||||
window.document.title = @site_info.content.title+" - ZeroNet"
|
window.document.title = @site_info.content.title+" - ZeroNet"
|
||||||
@log "Setting title to", window.document.title
|
@log "Setting title to", window.document.title
|
||||||
|
|
||||||
|
|
||||||
onWrapperLoad: =>
|
onWrapperLoad: =>
|
||||||
# Cleanup secret variables
|
# Cleanup secret variables
|
||||||
delete window.wrapper
|
delete window.wrapper
|
||||||
|
|
Loading…
Reference in a new issue