mirror of
https://github.com/webrecorder/pywb.git
synced 2025-03-15 00:03:28 +01:00
history replay: check last url instead of last state, which may be empty
This commit is contained in:
parent
dc7b8956bb
commit
c87b52543e
@ -3071,7 +3071,10 @@ var _WBWombat = function($wbwindow, wbinfo) {
|
||||
var states = wbinfo.history_state.states;
|
||||
var lastState = states[states.length - 1][0];
|
||||
|
||||
if ($wbwindow.history.state == lastState) {
|
||||
//if ($wbwindow.history.state == lastState) {
|
||||
// return;
|
||||
//}
|
||||
if ($wbwindow.WB_wombat_location.href == states[states.length - 1][2]) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user