Skip to content

Commit aece8fa

Browse files
committed
Update filebrowser.js
1 parent f1cd2bc commit aece8fa

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

filebrowser.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -468,7 +468,7 @@ async function renderSidebarHTML() {
468468
if (fileType === 'video') fileIconHTML = videoIcon;
469469
if (fileType === 'audio') fileIconHTML = audioIcon;
470470

471-
out = out + `
471+
out = `
472472
<div class="item file`+ modified +`" sha="`+ file.sha +`">
473473
<div class="label">
474474
`+ fileIconHTML +`
@@ -478,7 +478,7 @@ async function renderSidebarHTML() {
478478
`+ pushIcon +`
479479
</div>
480480
</div>
481-
`;
481+
` + out;
482482

483483
}
484484

@@ -579,15 +579,15 @@ async function renderSidebarHTML() {
579579

580580
// render repo
581581

582-
out = out + `
582+
out = `
583583
<div class="item repo" ` + ('fullName="' + modRepoName + '"') + `>
584584
<div class="label">
585585
`+ repoIcon +`
586586
<a class="name">`+ modRepoName.split('/')[1] +`</a>
587587
</div>
588588
`+ arrowIcon +`
589589
</div>
590-
`;
590+
` + out;
591591

592592
}
593593

0 commit comments

Comments
 (0)