Commit c2f6eb0ffe736b88094d97b75299c5fe45429b24
1 parent
b34378c4
Exists in
master
and in
4 other branches
Rollback preview button href
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
app/views/projects/notes/_form.html.haml
| ... | ... | @@ -7,10 +7,10 @@ |
| 7 | 7 | = f.hidden_field :noteable_type |
| 8 | 8 | |
| 9 | 9 | .note_text_and_preview.js-toggler-container |
| 10 | - %a.btn.btn-primary.js-note-preview-button.js-toggler-target.turn-off{ href: "#", data: {url: preview_project_notes_path(@project)} } | |
| 10 | + %a.btn.btn-primary.js-note-preview-button.js-toggler-target.turn-off{ href: "javascript:;", data: {url: preview_project_notes_path(@project)} } | |
| 11 | 11 | %i.icon-eye-open |
| 12 | 12 | Preview |
| 13 | - %a.btn.btn-primary.js-note-edit-button.js-toggler-target.turn-off{ href: "#" } | |
| 13 | + %a.btn.btn-primary.js-note-edit-button.js-toggler-target.turn-off{ href: "javascript:;" } | |
| 14 | 14 | %i.icon-edit |
| 15 | 15 | Write |
| 16 | 16 | ... | ... |