mirror of
https://github.com/netsurf-browser/netsurf
synced 2025-01-03 01:34:25 +03:00
parent
fe45bc1dbe
commit
7a75ec1576
@ -601,7 +601,9 @@ nserror browser_window_history_go(struct browser_window *bw,
|
|||||||
url, NULL, bw, NULL);
|
url, NULL, bw, NULL);
|
||||||
history->current = current;
|
history->current = current;
|
||||||
} else {
|
} else {
|
||||||
|
if (bw->current_content != NULL) {
|
||||||
browser_window_history_update(bw, bw->current_content);
|
browser_window_history_update(bw, bw->current_content);
|
||||||
|
}
|
||||||
history->current = entry;
|
history->current = entry;
|
||||||
error = browser_window_navigate(bw, url, NULL,
|
error = browser_window_navigate(bw, url, NULL,
|
||||||
BW_NAVIGATE_NO_TERMINAL_HISTORY_UPDATE,
|
BW_NAVIGATE_NO_TERMINAL_HISTORY_UPDATE,
|
||||||
|
Loading…
Reference in New Issue
Block a user