summaryrefslogtreecommitdiffstats
path: root/client/components/lists/list.js
diff options
context:
space:
mode:
authorLauri Ojansivu <x@xet7.org>2019-09-13 03:45:55 +0300
committerLauri Ojansivu <x@xet7.org>2019-09-13 03:45:55 +0300
commitff550e91103115e7b731dd80c4588b93b2d4c64f (patch)
tree79316cf93a59b6a8a09e6dc8071d39ec02547d27 /client/components/lists/list.js
parent0fcfc3a34039954a04f2f3549408baaf1dce1b0c (diff)
downloadwekan-ff550e91103115e7b731dd80c4588b93b2d4c64f.tar.gz
wekan-ff550e91103115e7b731dd80c4588b93b2d4c64f.tar.bz2
wekan-ff550e91103115e7b731dd80c4588b93b2d4c64f.zip
Mobile and Desktop drag handles part 1.
Thanks to xet7 ! Related #2081
Diffstat (limited to 'client/components/lists/list.js')
-rw-r--r--client/components/lists/list.js8
1 files changed, 3 insertions, 5 deletions
diff --git a/client/components/lists/list.js b/client/components/lists/list.js
index c2b39be9..650d1295 100644
--- a/client/components/lists/list.js
+++ b/client/components/lists/list.js
@@ -31,11 +31,9 @@ BlazeComponent.extendComponent({
const itemsSelector = '.js-minicard:not(.placeholder, .js-card-composer)';
const $cards = this.$('.js-minicards');
- if (window.matchMedia('(max-width: 1199px)').matches) {
- $('.js-minicards').sortable({
- handle: '.handle',
- });
- }
+ $('.js-minicards').sortable({
+ handle: '.handle',
+ });
$cards.sortable({
connectWith: '.js-minicards:not(.js-list-full)',