summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorFilipa Lacerda <filipa@gitlab.com>2018-02-01 16:13:10 +0000
committerFilipa Lacerda <filipa@gitlab.com>2018-02-01 16:21:38 +0000
commit3fed0302cb383ca3714c2fc540ac777409020862 (patch)
tree8d4ac87cd5a90e537eaa3eee80c9309a6ba91eea /app
parentc8a17cd1bd5fe16b6374ba93cc70a04cdeedbe21 (diff)
downloadgitlab-ce-3fed0302cb383ca3714c2fc540ac777409020862.tar.gz
Transform `a` tag with button role into a `button`
Diffstat (limited to 'app')
-rw-r--r--app/assets/javascripts/vue_merge_request_widget/components/mr_widget_merge_help.vue10
1 files changed, 6 insertions, 4 deletions
diff --git a/app/assets/javascripts/vue_merge_request_widget/components/mr_widget_merge_help.vue b/app/assets/javascripts/vue_merge_request_widget/components/mr_widget_merge_help.vue
index fe09c53272e..62b61e1f41f 100644
--- a/app/assets/javascripts/vue_merge_request_widget/components/mr_widget_merge_help.vue
+++ b/app/assets/javascripts/vue_merge_request_widget/components/mr_widget_merge_help.vue
@@ -29,11 +29,13 @@
{{ s__("mrWidget|You can merge this merge request manually using the") }}
</template>
- <a
- role="button"
+ <button
+ type="button"
+ class="btn-link btn-blank js-open-modal-help"
data-toggle="modal"
- href="#modal_merge_info">
+ data-target="#modal_merge_info"
+ >
{{ s__("mrWidget|command line") }}
- </a>
+ </button>
</section>
</template>