assets/dashboard/vendor/html5sortable.js
function findDragElement(sortableElement, element) {
        var options = addData(sortableElement, 'opts');
        var items = _filter(sortableElement.children, options.items);
        var itemlist = items.filter(function (ele) {
            return ele.contains(element);
        });
        return itemlist.length > 0 ? itemlist[0] : element;
    }
function findDragElement(sortableElement, element) {
        var options = addData(sortableElement, 'opts');
        var items = _filter(sortableElement.children, options.items);
        var itemlist = items.filter(function (ele) {
            return ele.contains(element);
        });
        return itemlist.length > 0 ? itemlist[0] : element;
    }
function findDragElement ( sortableElement , element ) { var options = addData ( sortableElement , 'opts' ) ; var items = _filter ( sortableElement . children , options . items ) ; var itemlist = items . filter ( function ( ele ) { return ele . contains ( element ) ; } ) ; return itemlist . length > 0 ? itemlist [ 0 ] : element ; }
Dragging event is on the sortable element. finds the top child that
contains the element.
@param {HTMLElement} sortableElement a single sortable
@param {HTMLElement} element is that being dragged
Dragging event is on the sortable element . finds the top child that contains the element .