mirror of
https://github.com/wekan/wekan.git
synced 2026-01-01 07:08:49 +01:00
Hotfix for mobile device
This commit is contained in:
parent
6c7eab4456
commit
43d86d7d5d
7 changed files with 82 additions and 12 deletions
|
|
@ -1,5 +1,5 @@
|
|||
const subManager = new SubsManager();
|
||||
const { calculateIndex } = Utils;
|
||||
const { calculateIndex, enableClickOnTouch } = Utils;
|
||||
|
||||
BlazeComponent.extendComponent({
|
||||
onCreated() {
|
||||
|
|
@ -74,6 +74,11 @@ BlazeComponent.extendComponent({
|
|||
},
|
||||
});
|
||||
|
||||
// ugly touch event hotfix
|
||||
$('.js-swimlane:not(.placeholder)').each(function() {
|
||||
enableClickOnTouch(this);
|
||||
});
|
||||
|
||||
function userIsMember() {
|
||||
return Meteor.user() && Meteor.user().isBoardMember() && !Meteor.user().isCommentOnly();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue