Fix (desktop) Safari rendering dropdown item as button

This commit is contained in:
Karina Kwiatek 2022-02-01 23:57:57 +01:00 committed by Karina Kwiatek
parent fa7ed8409a
commit 00e6b0925e
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@
%button.btn.btn-link.btn-sm.dropdown-toggle{ data: { toggle: :dropdown }, aria: { expanded: false } } %button.btn.btn-link.btn-sm.dropdown-toggle{ data: { toggle: :dropdown }, aria: { expanded: false } }
%span.caret %span.caret
.dropdown-menu.dropdown-menu-right{ role: :menu } .dropdown-menu.dropdown-menu-right{ role: :menu }
%a.dropdown-item{ href: "#", type: :button, data: { target: "#modal-view-comment#{comment.id}-smiles", toggle: :modal } } %a.dropdown-item{ href: "#", data: { target: "#modal-view-comment#{comment.id}-smiles", toggle: :modal } }
%i.fa.fa-smile-o %i.fa.fa-smile-o
= t "views.actions.view" = t "views.actions.view"
- if privileged?(comment.user) || privileged?(a.user) - if privileged?(comment.user) || privileged?(a.user)