You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In Page.prototype.back, this.len-- is used to make len property decrease when manually call page.back(). However, in Page.prototype._onpopstate, which is attached to window's popstate event, property len is not changed.
Is this the desired behavior or am I missing something here?
The text was updated successfully, but these errors were encountered:
bumprat
changed the title
page.len does not decrease after click browser back button
page.len does not decrease after click browser's back button
Oct 19, 2020
In
Page.prototype.back
,this.len--
is used to makelen
property decrease when manually callpage.back()
. However, inPage.prototype._onpopstate
, which is attached towindow
'spopstate
event, propertylen
is not changed.Is this the desired behavior or am I missing something here?
The text was updated successfully, but these errors were encountered: