diff options
author | Marc Hartmayer <hello@hartmayer.com> | 2020-04-25 09:48:56 +0200 |
---|---|---|
committer | Marc Hartmayer <hello@hartmayer.com> | 2020-04-25 09:49:10 +0200 |
commit | 6d1cdebfe214c7f67f8cc396cf880d1b5a18f013 (patch) | |
tree | c56a01bd7b511bf6aa9489877938ba9568a9a599 /client/components/swimlanes | |
parent | 7cf8487f57058ee7dc4835793b4d51302d145761 (diff) | |
download | wekan-6d1cdebfe214c7f67f8cc396cf880d1b5a18f013.tar.gz wekan-6d1cdebfe214c7f67f8cc396cf880d1b5a18f013.tar.bz2 wekan-6d1cdebfe214c7f67f8cc396cf880d1b5a18f013.zip |
Make it compatible with newer and older versions of jQuery sortable
While at it, fix comments and prettify it.
Diffstat (limited to 'client/components/swimlanes')
-rw-r--r-- | client/components/swimlanes/swimlanes.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/components/swimlanes/swimlanes.js b/client/components/swimlanes/swimlanes.js index 2d299ddc..ea8aaf1d 100644 --- a/client/components/swimlanes/swimlanes.js +++ b/client/components/swimlanes/swimlanes.js @@ -122,7 +122,7 @@ function initSortable(boardComponent, $listsDom) { } const $listDom = $listsDom; - if ($listDom.data('uiSortable')) { + if ($listDom.data('uiSortable') || $listDom.data('sortable')) { $listsDom.sortable( 'option', 'disabled', |