Skip to content

Commit 99df4a9

Browse files
committed
Reinstated scroll to top in Wt 4
1 parent 91b0430 commit 99df4a9

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/web/skeleton/Wt.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -930,7 +930,7 @@ this.scrollHistory = function() {
930930
// Scroll to the top, which may be overriden by scrollIntoView (if the hash
931931
// exists somewhere as an object ID)
932932
//console.log("scrollHistory: new page scroll strategy");
933-
// window.scrollTo(0, 0);
933+
window.scrollTo(0, 0);
934934
WT.scrollIntoView(window.history.state.state);
935935
}
936936
}

src/web/skeleton/Wt.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)