summaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
authorGeorge Tsiolis <tsiolis.g@gmail.com>2018-10-19 11:35:33 +0000
committerAnnabel Dunstone Gray <annabel.m.gray@gmail.com>2018-10-19 11:35:33 +0000
commit1af6ddffed5028b9e1f63e2d5760982a7b2ca473 (patch)
tree162d4ca9bf20993d99c692cf40b75c9d26d0069f /app/views
parentcdfc2378e5e30ac87479ef839dbc20f3bdaf1af0 (diff)
downloadgitlab-ce-1af6ddffed5028b9e1f63e2d5760982a7b2ca473.tar.gz
Change markdown header tab anchor links to buttons
Diffstat (limited to 'app/views')
-rw-r--r--app/views/projects/_md_preview.html.haml4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/projects/_md_preview.html.haml b/app/views/projects/_md_preview.html.haml
index f398d97028b..0f709c65d0e 100644
--- a/app/views/projects/_md_preview.html.haml
+++ b/app/views/projects/_md_preview.html.haml
@@ -11,10 +11,10 @@
.md-header
%ul.nav.nav-tabs.nav-links.clearfix
%li.md-header-tab.active
- %a.js-md-write-button{ href: "#md-write-holder", tabindex: -1 }
+ %button.js-md-write-button{ tabindex: -1 }
Write
%li.md-header-tab
- %a.js-md-preview-button{ href: "#md-preview-holder", tabindex: -1 }
+ %button.js-md-preview-button{ tabindex: -1 }
Preview
%li.md-header-toolbar.active