Skip to content

Commit 6be4fc7

Browse files
authored
Update web_src/js/features/repo-common.ts
1 parent d13f397 commit 6be4fc7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web_src/js/features/repo-common.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ function initCloneSchemeUrlSelection(parent: Element) {
5757
const tabSsh = parent.querySelector('.repo-clone-ssh');
5858
const tabTea = parent.querySelector('.repo-clone-tea');
5959
const updateClonePanelUi = function() {
60-
let scheme = localStorage.getItem('repo-clone-protocol') || 'https';
60+
let scheme = localStorage.getItem('repo-clone-protocol');
6161
if (!['https', 'ssh', 'tea'].includes(scheme)) {
6262
scheme = 'https';
6363
}

0 commit comments

Comments
 (0)