Browse Source

Merge pull request #1121 from steverandy/master

Add checking for pointerdown type
pull/1140/head
Lebedev Konstantin 7 years ago committed by GitHub
parent
commit
8748beab7f
  1. 2
      Sortable.js

2
Sortable.js

@ -322,7 +322,7 @@
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
}

Loading…
Cancel
Save