Skip to content

Commit

Permalink
SortableJS#1476: Stricter requirements for supportPointer
Browse files Browse the repository at this point in the history
  • Loading branch information
owen-m1 committed Mar 28, 2019
1 parent 9ddf4d2 commit da55cf6
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions Sortable.js
Original file line number Diff line number Diff line change
Expand Up @@ -562,10 +562,7 @@
fallbackOnBody: false,
fallbackTolerance: 0,
fallbackOffset: {x: 0, y: 0},
supportPointer: Sortable.supportPointer !== false && (
('PointerEvent' in window) ||
window.navigator && ('msPointerEnabled' in window.navigator) // microsoft
),
supportPointer: Sortable.supportPointer !== false && ('PointerEvent' in window),
emptyInsertThreshold: 5
};

Expand Down

0 comments on commit da55cf6

Please sign in to comment.