Browse Source

Add checking for pointerdown type

pull/1121/head
Steve Randy Tantra 8 years ago
parent
commit
81a59789ae
  1. 2
      Sortable.js

2
Sortable.js

@ -322,7 +322,7 @@
return; return;
} }
if (type === 'mousedown' && evt.button !== 0 || options.disabled) { if (/mousedown|pointerdown/.test(type) && evt.button !== 0 || options.disabled) {
return; // only left button or enabled return; // only left button or enabled
} }

Loading…
Cancel
Save