summaryrefslogtreecommitdiff
path: root/app/views/shared/_sort_dropdown.html.haml
diff options
context:
space:
mode:
authorCiro Santilli <ciro.santilli@gmail.com>2014-09-30 16:39:37 +0200
committerCiro Santilli <ciro.santilli@gmail.com>2015-01-17 19:50:41 +0100
commit55d980905540bae6d02ac104dac5c23e96dd5711 (patch)
tree1c7a1295a439e9ff1b46d9fa59db0d0a0d57ee68 /app/views/shared/_sort_dropdown.html.haml
parentada6c6080b2fa0d63003f8b29b5c32195254906d (diff)
downloadgitlab-ce-55d980905540bae6d02ac104dac5c23e96dd5711.tar.gz
Convert Javascript links to buttons.
Diffstat (limited to 'app/views/shared/_sort_dropdown.html.haml')
-rw-r--r--app/views/shared/_sort_dropdown.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/shared/_sort_dropdown.html.haml b/app/views/shared/_sort_dropdown.html.haml
index 93ed9b67336..00c95bf3024 100644
--- a/app/views/shared/_sort_dropdown.html.haml
+++ b/app/views/shared/_sort_dropdown.html.haml
@@ -1,5 +1,5 @@
.dropdown.inline.prepend-left-10
- %a.dropdown-toggle.btn{href: '#', "data-toggle" => "dropdown"}
+ %button.dropdown-toggle.btn{type: 'button', 'data-toggle' => 'dropdown'}
%span.light sort:
- if @sort.present?
= @sort