diff --git a/colab/proxy/gitlab/templates/proxy/gitlab.html b/colab/proxy/gitlab/templates/proxy/gitlab.html index 6d571a1..df88942 100644 --- a/colab/proxy/gitlab/templates/proxy/gitlab.html +++ b/colab/proxy/gitlab/templates/proxy/gitlab.html @@ -40,11 +40,9 @@ // toggled $('.hide').removeClass('hide').css('display', 'none'); - // When there's clone buttons for HTTPS and SSH, hit SSH and make HTTPS disapear - if(jQuery('.git-clone-holder button')) - { - jQuery('.git-clone-holder button')[0].click(); - } + // Hit the SSH clone button to select it by default + jQuery$(".git-clone-holder .btn:contains('SSH')").click() + }); -- libgit2 0.21.2