Card vote options in new fork

This commit is contained in:
Nico 2020-05-03 00:33:15 +02:00
parent 533bc045d0
commit 3cc0a93e0e
10 changed files with 239 additions and 65 deletions

View file

@ -330,7 +330,7 @@ Template.viewer.events({
// the corresponding text). Clicking a link shouldn't fire these actions, stop
// we stop these event at the viewer component level.
'click a'(event, templateInstance) {
let prevent = true;
const prevent = true;
const userId = event.currentTarget.dataset.userid;
if (userId) {
Popup.open('member').call({ userId }, event, templateInstance);