File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -69,9 +69,9 @@ export function initRepoGraphGit() {
6969 const html = await response . text ( ) ;
7070 const div = document . createElement ( 'div' ) ;
7171 div . innerHTML = html ;
72- document . getElementById ( 'pagination' ) . innerHTML = div . getElementById ( ' pagination') . innerHTML ;
73- document . getElementById ( 'rel-container' ) . innerHTML = div . getElementById ( ' rel-container') . innerHTML ;
74- document . getElementById ( 'rev-container' ) . innerHTML = div . getElementById ( ' rev-container') . innerHTML ;
72+ document . getElementById ( 'pagination' ) . innerHTML = div . querySelector ( '# pagination') . innerHTML ;
73+ document . getElementById ( 'rel-container' ) . innerHTML = div . querySelector ( '# rel-container') . innerHTML ;
74+ document . getElementById ( 'rev-container' ) . innerHTML = div . querySelector ( '# rev-container') . innerHTML ;
7575 hideElem ( '#loading-indicator' ) ;
7676 showElem ( '#rel-container' ) ;
7777 showElem ( '#rev-container' ) ;
You can’t perform that action at this time.
0 commit comments