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.
1 parent 5f324be commit 6c44240Copy full SHA for 6c44240
web_src/js/features/repo-commit.ts
@@ -35,7 +35,7 @@ export function initCommitFileHistoryFollowRename() {
35
checkbox.checked = url.searchParams.has('history_follow_rename', 'true');
36
37
checkbox.addEventListener('change', () => {
38
- const url = new URL(location.toString());
+ const url = new URL(window.location);
39
40
url.searchParams.set('history_follow_rename', `${checkbox.checked}`);
41
window.location.replace(url);
0 commit comments