Skip to content

Commit

Permalink
Fix repo graph JS (#31377)
Browse files Browse the repository at this point in the history
Fix #31376
Regression of #30395
  • Loading branch information
wxiaoguang authored Jun 14, 2024
1 parent cdd057c commit 188e515
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions web_src/js/features/repo-graph.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,9 @@ export function initRepoGraphGit() {
const html = await response.text();
const div = document.createElement('div');
div.innerHTML = html;
document.getElementById('pagination').innerHTML = div.getElementById('pagination').innerHTML;
document.getElementById('rel-container').innerHTML = div.getElementById('rel-container').innerHTML;
document.getElementById('rev-container').innerHTML = div.getElementById('rev-container').innerHTML;
document.getElementById('pagination').innerHTML = div.querySelector('#pagination').innerHTML;
document.getElementById('rel-container').innerHTML = div.querySelector('#rel-container').innerHTML;
document.getElementById('rev-container').innerHTML = div.querySelector('#rev-container').innerHTML;
hideElem('#loading-indicator');
showElem('#rel-container');
showElem('#rev-container');
Expand Down

0 comments on commit 188e515

Please sign in to comment.