Skip to content

Commit 9f76e2e

Browse files
authored
Update filebrowser.js
1 parent 076fb9e commit 9f76e2e

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

filebrowser.js

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1100,10 +1100,6 @@ async function checkPushDialogs() {
11001100

11011101
// change sidebar title
11021102
sidebarLogo.innerText = repoName + contents;
1103-
1104-
// change location
1105-
treeLoc[0] = loggedUser;
1106-
saveTreeLocLS(treeLoc);
11071103

11081104

11091105
// fork repo
@@ -1163,6 +1159,11 @@ async function checkPushDialogs() {
11631159
modifiedRepos[loggedUser + '/' + repoName] = newRepoObj;
11641160

11651161
updateModReposLS();
1162+
1163+
1164+
// change location
1165+
treeLoc[0] = loggedUser;
1166+
saveTreeLocLS(treeLoc);
11661167

11671168

11681169
// enable push buttons

0 commit comments

Comments
 (0)