Skip to content

Commit 8feda9d

Browse files
committed
update comment
1 parent 40dc855 commit 8feda9d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web_src/js/features/repo-issue.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -438,7 +438,7 @@ export async function handleReply($el) {
438438

439439
export function initRepoPullRequestReview() {
440440
if (window.location.hash && window.location.hash.startsWith('#issuecomment-')) {
441-
// set scrollRestoration to 'manual' when there is a hash in url, so that position will not be remembered after refreshing
441+
// set scrollRestoration to 'manual' when there is a hash in url, so that the scroll position will not be remembered after refreshing
442442
(history.scrollRestoration != 'manual') && (history.scrollRestoration = 'manual');
443443
const commentDiv = $(window.location.hash);
444444
if (commentDiv) {

0 commit comments

Comments
 (0)