mirror of
https://github.com/wekan/wekan.git
synced 2026-02-01 06:01:48 +01:00
Sidebar search only opens the card as popup on mobile view
This commit is contained in:
parent
c4d42d86a2
commit
ddc229dabe
1 changed files with 5 additions and 3 deletions
|
|
@ -14,9 +14,11 @@ BlazeComponent.extendComponent({
|
|||
},
|
||||
|
||||
clickOnMiniCard(evt) {
|
||||
evt.preventDefault();
|
||||
Session.set('popupCard', this.currentData()._id);
|
||||
this.cardDetailsPopup(evt);
|
||||
if (Utils.isMiniScreen()) {
|
||||
evt.preventDefault();
|
||||
Session.set('popupCard', this.currentData()._id);
|
||||
this.cardDetailsPopup(evt);
|
||||
}
|
||||
},
|
||||
|
||||
cardDetailsPopup(event) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue