Commit 8d0c7e84 authored by George Andrinopoulos's avatar George Andrinopoulos

Rename wiki-edit class to js-wiki-edit

parent 4306c0b4
......@@ -11,6 +11,6 @@ export default class ShortcutsWiki extends ShortcutsNavigation {
}
editWiki() {
findAndFollowLink('.wiki-edit');
findAndFollowLink('.js-wiki-edit');
}
}
......@@ -5,5 +5,5 @@
= link_to namespace_project_wiki_history_path(@project.namespace, @project, @page), class: "btn" do
Page history
- if can?(current_user, :create_wiki, @project) && @page.latest?
= link_to namespace_project_wiki_edit_path(@project.namespace, @project, @page), class: "btn wiki-edit" do
= link_to namespace_project_wiki_edit_path(@project.namespace, @project, @page), class: "btn js-wiki-edit" do
Edit
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment