diff options
Diffstat (limited to 'client/components/lists/list.js')
-rw-r--r-- | client/components/lists/list.js | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/client/components/lists/list.js b/client/components/lists/list.js index 650d1295..c2b39be9 100644 --- a/client/components/lists/list.js +++ b/client/components/lists/list.js @@ -31,9 +31,11 @@ BlazeComponent.extendComponent({ const itemsSelector = '.js-minicard:not(.placeholder, .js-card-composer)'; const $cards = this.$('.js-minicards'); - $('.js-minicards').sortable({ - handle: '.handle', - }); + if (window.matchMedia('(max-width: 1199px)').matches) { + $('.js-minicards').sortable({ + handle: '.handle', + }); + } $cards.sortable({ connectWith: '.js-minicards:not(.js-list-full)', |