summaryrefslogtreecommitdiff
path: root/app/views/projects
diff options
context:
space:
mode:
authorAnnabel Dunstone Gray <annabel.dunstone@gmail.com>2017-12-18 15:57:21 -0700
committerAnnabel Dunstone Gray <annabel.dunstone@gmail.com>2017-12-18 15:57:21 -0700
commit9addd98035fb76636c28782abb1dd81e09c456c6 (patch)
treee10934d4d8690c0c9462377b05ab9d207e15ae08 /app/views/projects
parent47eaadec8255143832b2a7109f73cddf33cb0eb7 (diff)
downloadgitlab-ce-9addd98035fb76636c28782abb1dd81e09c456c6.tar.gz
Hide & show toolbar on MR page
Diffstat (limited to 'app/views/projects')
-rw-r--r--app/views/projects/_md_preview.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/_md_preview.html.haml b/app/views/projects/_md_preview.html.haml
index c5e3a7945bd..8212ab9a31e 100644
--- a/app/views/projects/_md_preview.html.haml
+++ b/app/views/projects/_md_preview.html.haml
@@ -17,7 +17,7 @@
%a.js-md-preview-button{ href: "#md-preview-holder", tabindex: -1 }
Preview
- %li.md-header-toolbar
+ %li.md-header-toolbar.active
= markdown_toolbar_button({ icon: "bold", data: { "md-tag" => "**" }, title: "Add bold text" })
= markdown_toolbar_button({ icon: "italic", data: { "md-tag" => "*" }, title: "Add italic text" })
= markdown_toolbar_button({ icon: "quote", data: { "md-tag" => "> ", "md-prepend" => true }, title: "Insert a quote" })