Commit 549947f619b031027b0b17d13391e1ed172550d9
Committed by
Charles Oliveira
1 parent
ca28fda0
Exists in
master
and in
39 other branches
Disabling rails black magic (TurboLinks)
Showing
1 changed file
with
0 additions
and
11 deletions
Show diff stats
src/proxy/templates/proxy/gitlab.html
... | ... | @@ -26,17 +26,6 @@ |
26 | 26 | {% block head_js %} |
27 | 27 | <script type="text/javascript"> |
28 | 28 | $(function(){ |
29 | - // By Default Gitlab uses an event listener to stop propagation on any links | |
30 | - // and use HTML5 pseudo navigation. That was causing all links in our | |
31 | - // headers and footers to send the user to the right location but | |
32 | - // applying Gitlab CSS everywhere. | |
33 | - // The workaround below will run before the Gitlab event and will prevent | |
34 | - // it to work. | |
35 | - | |
36 | - $('.navbar a, .footer').not('.dropdown-toggle, .browserid-login').on("click", | |
37 | - function(evt) { evt.stopPropagation(); } | |
38 | - ); | |
39 | - | |
40 | 29 | // Somehow when there's a merge request, all options just disapear |
41 | 30 | // so this fix makes it show up again |
42 | 31 | $('div.panel-body div.automerge_widget').removeClass('hide'); | ... | ... |