Commit 44419239445b03801e1f7c0bb825bda080012c71

Authored by Sergio Oliveira
1 parent da158167

Using jQuery noconflict

colab/proxy/gitlab/templates/proxy/gitlab.html
... ... @@ -33,12 +33,12 @@
33 33  
34 34 {% block head_js %}
35 35 <script type="text/javascript">
36   - $(function(){
  36 + jQuery(function(){
37 37 // bootstrap.css forces .hide {display:none!important}, and this makes
38 38 // gitlab .hide elements NEVER have a display:block, so
39 39 // instead of editing bootstrap.css, we just removed '.hide' css class and
40 40 // toggled
41   - $('.hide').removeClass('hide').css('display', 'none');
  41 + jQuery('.hide').removeClass('hide').css('display', 'none');
42 42  
43 43 // Hit the SSH clone button to select it by default
44 44 jQuery(".git-clone-holder .btn:contains('SSH')").click()
... ...