summaryrefslogtreecommitdiffstats
path: root/client
diff options
context:
space:
mode:
authorHaocen Xu <haocen.xu@gmail.com>2018-07-06 20:15:39 -0400
committerHaocen Xu <haocen.xu@gmail.com>2018-07-06 20:15:39 -0400
commit5c774070617357c25c7bb35b43f4b122eb4b3e34 (patch)
tree143e9bdb1544a1c783bd2c842ed6c3e0a01251de /client
parent9c204d9bbe4845bc3e352e839615dfb782a753f4 (diff)
downloadwekan-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.js2
-rw-r--r--client/lib/utils.js1
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;
},