Browse Source

Merge pull request #1145 from ohute-couture/dev

Fix #1144 problem with supporting css pointer-event in IE
pull/1159/head
Lebedev Konstantin 7 years ago committed by GitHub
parent
commit
5a7bb1bc80
  1. 2
      Sortable.js
  2. 2
      Sortable.min.js

2
Sortable.js

@ -73,7 +73,7 @@
supportDraggable = !!('draggable' in document.createElement('div')), supportDraggable = !!('draggable' in document.createElement('div')),
supportCssPointerEvents = (function (el) { supportCssPointerEvents = (function (el) {
// false when IE11 // false when IE11
if (!!navigator.userAgent.match(/Trident.*rv[ :]?11\./)) { if (!!navigator.userAgent.match(/(?:Trident.*rv[ :]?11\.|msie)/i)) {
return false; return false;
} }
el = document.createElement('x'); el = document.createElement('x');

2
Sortable.min.js vendored

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