Rename wrapper onLoad to onPageLoad
This commit is contained in:
parent
fd56ddaa54
commit
a1a2434d98
1 changed files with 2 additions and 2 deletions
|
@ -25,7 +25,7 @@ class Wrapper
|
||||||
@address = null
|
@address = null
|
||||||
@opener_tested = false
|
@opener_tested = false
|
||||||
|
|
||||||
window.onload = @onLoad # On iframe loaded
|
window.onload = @onPageLoad # On iframe loaded
|
||||||
window.onhashchange = (e) => # On hash change
|
window.onhashchange = (e) => # On hash change
|
||||||
@log "Hashchange", window.location.hash
|
@log "Hashchange", window.location.hash
|
||||||
if window.location.hash
|
if window.location.hash
|
||||||
|
@ -387,7 +387,7 @@ class Wrapper
|
||||||
|
|
||||||
|
|
||||||
# Iframe loaded
|
# Iframe loaded
|
||||||
onLoad: (e) =>
|
onPageLoad: (e) =>
|
||||||
@inner_loaded = true
|
@inner_loaded = true
|
||||||
if not @inner_ready then @sendInner {"cmd": "wrapperReady"} # Inner frame loaded before wrapper
|
if not @inner_ready then @sendInner {"cmd": "wrapperReady"} # Inner frame loaded before wrapper
|
||||||
#if not @site_error then @loading.hideScreen() # Hide loading screen
|
#if not @site_error then @loading.hideScreen() # Hide loading screen
|
||||||
|
|
Loading…
Reference in a new issue