Browse Source

Merge pull request #923 from Rendalf/IE11-Pointer-Events

IE-11 pointer events
pull/965/head
Lebedev Konstantin 9 years ago committed by GitHub
parent
commit
1a0e0aa8a1
  1. 4
      Sortable.js
  2. 2
      Sortable.min.js

4
Sortable.js

@ -72,6 +72,10 @@
supportDraggable = !!('draggable' in document.createElement('div')),
supportCssPointerEvents = (function (el) {
// false when IE11
if (!!navigator.userAgent.match(/Trident.*rv[ :]?11\./)) {
return false;
}
el = document.createElement('x');
el.style.cssText = 'pointer-events:auto';
return el.style.pointerEvents === 'auto';

2
Sortable.min.js vendored

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save