chess/public/assets/js/pages/features/cards/draggable.min.js
Ramadhon Ikhsan Prasetya 603e31b0f4 init
2024-08-29 10:56:32 +07:00

1 line
322 B
JavaScript
Vendored

"use strict";var KTCardDraggable={init:function(){var a=document.querySelectorAll(".draggable-zone");if(0===a.length)return!1;new Sortable.default(a,{draggable:".draggable",handle:".draggable .draggable-handle",mirror:{appendTo:"body",constrainDimensions:!0}})}};jQuery(document).ready(function(){KTCardDraggable.init()});