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)
|
||||
|
||||
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()
|
||||
|
||||
|
|
|
@ -796,8 +796,8 @@ jQuery.extend( jQuery.easing,
|
|||
window.onpopstate = (function(_this) {
|
||||
return function(e) {
|
||||
return _this.sendInner({
|
||||
"cmd": "wrapperPopstate",
|
||||
"result": {
|
||||
"cmd": "wrapperPopState",
|
||||
"params": {
|
||||
"href": document.location.href,
|
||||
"state": e.state
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue