We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d13f397 commit 6be4fc7Copy full SHA for 6be4fc7
web_src/js/features/repo-common.ts
@@ -57,7 +57,7 @@ function initCloneSchemeUrlSelection(parent: Element) {
57
const tabSsh = parent.querySelector('.repo-clone-ssh');
58
const tabTea = parent.querySelector('.repo-clone-tea');
59
const updateClonePanelUi = function() {
60
- let scheme = localStorage.getItem('repo-clone-protocol') || 'https';
+ let scheme = localStorage.getItem('repo-clone-protocol');
61
if (!['https', 'ssh', 'tea'].includes(scheme)) {
62
scheme = 'https';
63
}
0 commit comments