From 0c2985f6da109e585991b43626be74cae63d7704 Mon Sep 17 00:00:00 2001 From: Guillaume-Elemate <123363990+Guillaume-Elemate@users.noreply.github.com> Date: Wed, 5 Apr 2023 11:37:52 +0200 Subject: [PATCH] Update jquery-sortable.js --- jquery-sortable.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jquery-sortable.js b/jquery-sortable.js index caea8fe..9c9c46f 100644 --- a/jquery-sortable.js +++ b/jquery-sortable.js @@ -8,10 +8,10 @@ if (typeof define === "function" && define.amd) { try { define(["sortablejs", "jquery"], function(Sortable, $) { - sortable = Sortable; + sortable = Sortable.Sortable; jq = $; checkErrors(); - factory(Sortable, $); + factory(Sortable.Sortable, $); }); } catch(err) { checkErrors();