rename wrapperPopstate to wrapperPopState
This commit is contained in:
parent
fc9c604b66
commit
3b8dc59ac5
2 changed files with 3 additions and 3 deletions
|
@ -33,7 +33,7 @@ class Wrapper
|
||||||
$("#inner-iframe").attr("src", src)
|
$("#inner-iframe").attr("src", src)
|
||||||
|
|
||||||
window.onpopstate = (e) =>
|
window.onpopstate = (e) =>
|
||||||
@sendInner {"cmd": "wrapperPopstate", "result": {"href": document.location.href, "state": e.state}}
|
@sendInner {"cmd": "wrapperPopState", "params": {"href": document.location.href, "state": e.state}}
|
||||||
|
|
||||||
$("#inner-iframe").focus()
|
$("#inner-iframe").focus()
|
||||||
|
|
||||||
|
|
|
@ -796,8 +796,8 @@ jQuery.extend( jQuery.easing,
|
||||||
window.onpopstate = (function(_this) {
|
window.onpopstate = (function(_this) {
|
||||||
return function(e) {
|
return function(e) {
|
||||||
return _this.sendInner({
|
return _this.sendInner({
|
||||||
"cmd": "wrapperPopstate",
|
"cmd": "wrapperPopState",
|
||||||
"result": {
|
"params": {
|
||||||
"href": document.location.href,
|
"href": document.location.href,
|
||||||
"state": e.state
|
"state": e.state
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue