Browse Source

+ master (0.5.2)

pull/126/merge
RubaXa 10 years ago
parent
commit
bc1d2665ea
  1. 9
      Sortable.js
  2. 2
      Sortable.min.js

9
Sortable.js

@ -149,9 +149,11 @@
}
// Check filter
if( typeof filter === 'function' && filter.call(this, target, this) ){
_dispatchEvent(el, 'filter', target);
return; // cancel dnd
if( typeof filter === 'function' ){
if( filter.call(this, target, this) ){
_dispatchEvent(el, 'filter', target);
return; // cancel dnd
}
}
else if( filter ){
filter = filter.split(',').filter(function (criteria) {
@ -717,6 +719,7 @@
Sortable.version = '0.6.0';
/**
* Create sortable instance

2
Sortable.min.js vendored

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