Skip to content

Commit 9287050

Browse files
authored
Update gitauth.js
1 parent 472c2ea commit 9287050

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

git/gitauth.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@ window.onload = () => {
1313
treeLoc = getStorage('tree') ? getStorage('tree').split(',') : ['', '', ''];
1414

1515
const url = new URL(window.location.href);
16-
const treeQuery = url.searchParams.get('tree');
16+
const urlQuery = url.searchParams.get('q');
1717

18-
if (treeQuery) {
18+
if (urlQuery) {
1919

20-
treeLoc = treeQuery.split(',');
20+
treeLoc = urlQuery.split(',');
2121

2222
}
2323

0 commit comments

Comments
 (0)