Browse Source

Merge pull request #650 from SebastianTroc/dev

Fix for callbacks invocation
pull/653/head
Lebedev Konstantin 9 years ago
parent
commit
a849935b43
  1. 2
      Sortable.min.js
  2. 4
      react-sortable-mixin.js

2
Sortable.min.js vendored

File diff suppressed because one or more lines are too long

4
react-sortable-mixin.js vendored

@ -85,8 +85,8 @@
copyOptions = _extend({}, options),
emitEvent = function (/** string */type, /** Event */evt) {
var method = this[options[type]];
method && method.call(this, evt, this._sortableInstance);
var method = options[type];
method && typeof method === "function" && method.call(this, evt, this._sortableInstance);
}.bind(this);

Loading…
Cancel
Save