diff --git a/Sortable.js b/Sortable.js index d715f6e..99b4a83 100644 --- a/Sortable.js +++ b/Sortable.js @@ -255,7 +255,7 @@ // Bind all private methods for (var fn in this) { - if (fn.charAt(0) === '_' && typeof(this[fn]) === 'function') { + if (fn.charAt(0) === '_' && typeof this[fn] === 'function') { this[fn] = this[fn].bind(this); } }