Skip to content

Commit 7b70df6

Browse files
authored
Update web_src/js/features/repo-graph.ts
Signed-off-by: silverwind <[email protected]>
1 parent 86b8b7c commit 7b70df6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web_src/js/features/repo-graph.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ export function initRepoGraphGit() {
3838
const queryString = params.toString();
3939
const ajaxUrl = new URL(url);
4040
ajaxUrl.searchParams.set('div-only', 'true');
41-
window.history.replaceState({}, '', queryString ? `?${queryString}` : window.location.pathname);
41+
window.history.replaceState(null, '', queryString ? `?${queryString}` : window.location.pathname);
4242

4343
elGraphBody.classList.add('is-loading');
4444
try {

0 commit comments

Comments
 (0)