提交 9b9704e1 编写于 作者: D dev101

Update Sortable.js

上级 43d2b4cc
...@@ -255,7 +255,7 @@ ...@@ -255,7 +255,7 @@
// Bind all private methods // Bind all private methods
for (var fn in this) { for (var fn in this) {
if (fn.charAt(0) === '_') { if (fn.charAt(0) === '_' && typeof(this[fn].bind) === 'function') {
this[fn] = this[fn].bind(this); this[fn] = this[fn].bind(this);
} }
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册