chess/public/assets/js/pages/features/cards/draggable.min.js

1 line
322 B
JavaScript
Raw Normal View History

2024-08-29 03:56:32 +00:00
"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()});