summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--desktop/browser.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/desktop/browser.c b/desktop/browser.c
index c8768b949..b82d8eff3 100644
--- a/desktop/browser.c
+++ b/desktop/browser.c
@@ -2386,6 +2386,11 @@ static bool frag_scroll(struct browser_window *bw)
rect.x1 = rect.x0;
rect.y1 = rect.y0;
if (browser_window_set_scroll(bw, &rect) == NSERROR_OK) {
+ if (bw->current_content != NULL &&
+ bw->history != NULL &&
+ bw->history->current != NULL) {
+ browser_window_history_update(bw, bw->current_content);
+ }
return true;
}
return false;