diff --git a/colab/proxy/gitlab/templates/proxy/gitlab.html b/colab/proxy/gitlab/templates/proxy/gitlab.html index 21bc13e..6d571a1 100644 --- a/colab/proxy/gitlab/templates/proxy/gitlab.html +++ b/colab/proxy/gitlab/templates/proxy/gitlab.html @@ -39,6 +39,12 @@ // instead of editing bootstrap.css, we just removed '.hide' css class and // 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(); + } }); -- libgit2 0.21.2