Skip to content

Commit

Permalink
#1598: Allow selecting with SHIFT key without multiDragKey being down
Browse files Browse the repository at this point in the history
  • Loading branch information
owen-m1 committed Sep 15, 2019
1 parent a60ded8 commit 2e6df83
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 2e6df83

Please sign in to comment.