Rename wiki-edit class to js-wiki-edit
This commit is contained in:
parent
4306c0b41a
commit
8d0c7e8451
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue