Skip to content

Commit f104b70

Browse files
committed
Update filebrowser.js
1 parent ea8afaf commit f104b70

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

filebrowser.js

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1678,9 +1678,16 @@ async function renderBranchMenuHTML(renderAll) {
16781678
}
16791679

16801680
} else if (branch.classList.contains('see-more')) { // if clicked on show more button
1681-
1681+
16821682
// render branch menu
16831683
renderBranchMenuHTML(true);
1684+
1685+
// if on mobile, reposition branch menu
1686+
if (isMobile) {
1687+
1688+
moveElToEl(branchMenu, sidebarBranch, 13);
1689+
1690+
}
16841691

16851692
} else if (branch.classList.contains('new-branch')) { // if clicked on new branch button
16861693

0 commit comments

Comments
 (0)