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), copyOptions = _extend({}, options),
emitEvent = function (/** string */type, /** Event */evt) { emitEvent = function (/** string */type, /** Event */evt) {
var method = this[options[type]]; var method = options[type];
method && method.call(this, evt, this._sortableInstance); method && typeof method === "function" && method.call(this, evt, this._sortableInstance);
}.bind(this); }.bind(this);

Loading…
Cancel
Save