We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
history.scrollRestoration
manual
1 parent 1dc03cc commit 8e4536fCopy full SHA for 8e4536f
web_src/js/features/repo-issue.js
@@ -478,6 +478,9 @@ export function initRepoPullRequestReview() {
478
});
479
}
480
481
+ } else if (window.history.scrollRestoration === 'manual') {
482
+ // reset scrollRestoration to 'auto' if there is no hash in url and we set it to 'manual' before
483
+ window.history.scrollRestoration = 'auto';
484
485
486
$(document).on('click', '.show-outdated', function (e) {
0 commit comments