Closed SeanCassiere closed 2 weeks ago
CI is running/has finished running commands for commit 90e20fb9f3a3741903e650952631bda30bff0958. As they complete they will appear below. Click to see the status, the terminal output, and the build insights.
📂 See all runs for this CI Pipeline Execution
Sent with 💌 from NxCloud.
This change only affects memory history.
When using the
history.back
, it decrements theindex
by-1
.This is correct, since calling
history.forward
would require theindex
to be incremented by+1
and would require anentries
value to be present.However, this then causes a scenario where calling
history.pushState
would cause theentries
array to have an extra item with theindex
lagging behind by one.This change affects the
history.pushState
, whereby assigns theindex
a number based onentries.length - 1
or0
.Fixes #1555