From 16f1cb03e0f4e02dd0b4af5bbaac8ba571ff2338 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lud=C4=9Bk=20Uiberlay?= Date: Thu, 21 Apr 2016 12:37:13 +0200 Subject: [PATCH] jquery.binding: fixed non-working widget method --- jquery.binding.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jquery.binding.js b/jquery.binding.js index 9e9f4b9..9a861af 100644 --- a/jquery.binding.js +++ b/jquery.binding.js @@ -41,7 +41,7 @@ if (sortable) { if (options === 'widget') { - return sortable; + retVal = sortable; } else if (options === 'destroy') { sortable.destroy();