diff options
author | Haocen Xu <haocen.xu@gmail.com> | 2018-07-06 20:15:39 -0400 |
---|---|---|
committer | Haocen Xu <haocen.xu@gmail.com> | 2018-07-06 20:15:39 -0400 |
commit | 5c774070617357c25c7bb35b43f4b122eb4b3e34 (patch) | |
tree | 143e9bdb1544a1c783bd2c842ed6c3e0a01251de /client | |
parent | 9c204d9bbe4845bc3e352e839615dfb782a753f4 (diff) | |
download | wekan-5c774070617357c25c7bb35b43f4b122eb4b3e34.tar.gz wekan-5c774070617357c25c7bb35b43f4b122eb4b3e34.tar.bz2 wekan-5c774070617357c25c7bb35b43f4b122eb4b3e34.zip |
Fix missing utility function.
Diffstat (limited to 'client')
-rw-r--r-- | client/components/cards/cardDetails.js | 2 | ||||
-rw-r--r-- | client/lib/utils.js | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/client/components/cards/cardDetails.js b/client/components/cards/cardDetails.js index 1583a51f..b41bfc17 100644 --- a/client/components/cards/cardDetails.js +++ b/client/components/cards/cardDetails.js @@ -1,5 +1,5 @@ const subManager = new SubsManager(); -const { calculateIndexData } = Utils; +const { calculateIndexData, enableClickOnTouch } = Utils; BlazeComponent.extendComponent({ mixins() { diff --git a/client/lib/utils.js b/client/lib/utils.js index 71e2f1f1..6b8e3524 100644 --- a/client/lib/utils.js +++ b/client/lib/utils.js @@ -113,6 +113,7 @@ Utils = { const query = ['(', prefixes.join('touch-enabled),('), 'heartz', ')'].join(''); return mq(query); })(); + Utils.isTouchDevice = () => isTouchable; return isTouchable; }, |