Browse Source

Removed brackets in typeof

pull/746/head^2
dev101 9 years ago
parent
commit
6be0ded019
  1. 2
      Sortable.js

2
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);
}
}

Loading…
Cancel
Save