Browse Source

fix for nested sortables with react-sortablejs

Could you add this conditional so that I can use nested sortables with react-sortablejs?
https://github.com/cheton/react-sortable/issues/23
pull/1299/head
Nobuyuki Fujioka 7 years ago committed by GitHub
parent
commit
6e2b9a1a05
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      Sortable.js

2
Sortable.js

@ -1338,7 +1338,9 @@
evt.originalEvent = originalEvt;
if(rootEl) {
rootEl.dispatchEvent(evt);
}
if (options[onName]) {
options[onName].call(sortable, evt);

Loading…
Cancel
Save