mirror of
https://github.com/wekan/wekan.git
synced 2025-04-22 04:57:07 -04:00
Fix missing utility function.
This commit is contained in:
parent
9c204d9bbe
commit
5c77407061
2 changed files with 2 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
|||
const subManager = new SubsManager();
|
||||
const { calculateIndexData } = Utils;
|
||||
const { calculateIndexData, enableClickOnTouch } = Utils;
|
||||
|
||||
BlazeComponent.extendComponent({
|
||||
mixins() {
|
||||
|
|
|
@ -113,6 +113,7 @@ Utils = {
|
|||
const query = ['(', prefixes.join('touch-enabled),('), 'heartz', ')'].join('');
|
||||
return mq(query);
|
||||
})();
|
||||
Utils.isTouchDevice = () => isTouchable;
|
||||
return isTouchable;
|
||||
},
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue