From 9b9704e1828c84211011b8d8c6385efa1deaa59c Mon Sep 17 00:00:00 2001 From: dev101 Date: Wed, 20 Jan 2016 21:31:35 +0300 Subject: [PATCH] Update Sortable.js --- Sortable.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sortable.js b/Sortable.js index 6a025ea..61c8e70 100644 --- a/Sortable.js +++ b/Sortable.js @@ -255,7 +255,7 @@ // Bind all private methods for (var fn in this) { - if (fn.charAt(0) === '_') { + if (fn.charAt(0) === '_' && typeof(this[fn].bind) === 'function') { this[fn] = this[fn].bind(this); } }