From aa79f168a9cf46561187644e83c3eeff4c5c60da Mon Sep 17 00:00:00 2001 From: Trond A Ekseth Date: Sat, 19 Nov 2022 19:46:55 +0100 Subject: [PATCH] Delay touch sortable items on touch devices --- js/script.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/js/script.js b/js/script.js index 88afb97..75baa7f 100644 --- a/js/script.js +++ b/js/script.js @@ -26,6 +26,7 @@ window.onload = function () { }) Sortable.create(items, { + delayOnTouchOnly: true, group: "dndmusicbot-playlists", filter: ".locked", onMove: (e) => { @@ -47,6 +48,7 @@ window.onload = function () { }) Sortable.create(amb, { + delayOnTouchOnly: true, group: "dndmusicbot-ambiance", filter: ".locked", onMove: (e) => {