replace Session key popupCard with popupCardId (better meaning of what the variable contains)

This commit is contained in:
Martin Filser 2021-11-08 11:55:14 +01:00
parent 4733afe4eb
commit f4a3363f6f
6 changed files with 14 additions and 14 deletions

View file

@ -150,7 +150,7 @@ BlazeComponent.extendComponent({
// overwriting the event in case the card is already selected.
} else if (Utils.isMiniScreen()) {
evt.preventDefault();
Session.set('popupCard', this.currentData()._id);
Session.set('popupCardId', this.currentData()._id);
this.cardDetailsPopup(evt);
} else if (Session.equals('currentCard', this.currentData()._id)) {
evt.stopImmediatePropagation();