Skip to content

Commit

Permalink
#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 5b907bf commit 119ed2a
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 119ed2a

Please sign in to comment.