innerLoaded command alias as wrapperInnerLoaded
This commit is contained in:
parent
23dc8e063c
commit
39734dfadb
2 changed files with 2 additions and 2 deletions
|
@ -101,7 +101,7 @@ class Wrapper
|
|||
if @ws.ws.readyState == 1 and not @wrapperWsInited # If ws already opened
|
||||
@sendInner {"cmd": "wrapperOpenedWebsocket"}
|
||||
@wrapperWsInited = true
|
||||
else if cmd == "innerLoaded"
|
||||
else if cmd == "innerLoaded" or cmd == "wrapperInnerLoaded"
|
||||
if window.location.hash
|
||||
$("#inner-iframe")[0].src += window.location.hash # Hash tag
|
||||
@log "Added hash to location", $("#inner-iframe")[0].src
|
||||
|
|
|
@ -912,7 +912,7 @@ jQuery.extend( jQuery.easing,
|
|||
});
|
||||
return this.wrapperWsInited = true;
|
||||
}
|
||||
} else if (cmd === "innerLoaded") {
|
||||
} else if (cmd === "innerLoaded" || cmd === "wrapperInnerLoaded") {
|
||||
if (window.location.hash) {
|
||||
$("#inner-iframe")[0].src += window.location.hash;
|
||||
return this.log("Added hash to location", $("#inner-iframe")[0].src);
|
||||
|
|
Loading…
Reference in a new issue