Skip to content

Commit

Permalink
SortableJS#1598: Allow selecting with SHIFT key without multiDragKey …
Browse files Browse the repository at this point in the history
…being down
  • Loading branch information
owen-m1 committed Sep 15, 2019
1 parent 3cefb24 commit 12907d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/MultiDrag/MultiDrag.js
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ function MultiDragPlugin() {
});

// Modifier activated, select from last to dragEl
if ((!options.multiDragKey || this.multiDragKeyDown) && evt.shiftKey && lastMultiDragSelect && sortable.el.contains(lastMultiDragSelect)) {
if (evt.shiftKey && lastMultiDragSelect && sortable.el.contains(lastMultiDragSelect)) {
let lastIndex = index(lastMultiDragSelect),
currentIndex = index(dragEl);

Expand Down

0 comments on commit 12907d6

Please sign in to comment.