Open share widgets in new tab

This commit is contained in:
Andreas Nedbal 2021-12-26 23:28:46 +01:00
parent 21c4e0662f
commit 5fcf24646e
1 changed files with 2 additions and 2 deletions

View File

@ -20,10 +20,10 @@
%button.btn.btn-link.answerbox__action{ data: { toggle: :dropdown }, aria: { expanded: false } } %button.btn.btn-link.answerbox__action{ data: { toggle: :dropdown }, aria: { expanded: false } }
%i.fa.fa-fw.fa-share-alt{ title: 'Share' } %i.fa.fa-fw.fa-share-alt{ title: 'Share' }
.dropdown-menu.dropdown-menu-right{ role: :menu } .dropdown-menu.dropdown-menu-right{ role: :menu }
%a.dropdown-item{ href: twitter_share_url(a) } %a.dropdown-item{ href: twitter_share_url(a), target: '_blank' }
%i.fa.fa-fw.fa-twitter %i.fa.fa-fw.fa-twitter
Share on Twitter Share on Twitter
%a.dropdown-item{ href: tumblr_share_url(a) } %a.dropdown-item{ href: tumblr_share_url(a), target: '_blank' }
%i.fa.fa-fw.fa-tumblr %i.fa.fa-fw.fa-tumblr
Share on Tumblr Share on Tumblr
%a.dropdown-item{ href: '#', name: 'ab-share' } %a.dropdown-item{ href: '#', name: 'ab-share' }