]> BookStack Code Mirror - bookstack/blobdiff - resources/js/components/sortable-list.js
Merge branch 'master' of git://github.com/rondaa/BookStack into rondaa-master
[bookstack] / resources / js / components / sortable-list.js
index db50352b8ef3c9573aae382eba8271a3f7f2e6c0..0af0e11c901a5b58d98f4ef7687004c117334e3d 100644 (file)
@@ -21,11 +21,9 @@ class SortableList {
                 this.$emit('sort', {ids: sortable.toArray()});
             },
             setData(dataTransferItem, dragEl) {
-                console.log('cat');
                 const jsonContent = dragEl.getAttribute('data-drag-content');
                 if (jsonContent) {
                     const contentByType = JSON.parse(jsonContent);
-                    dataTransferItem.setData('bookstack/json', jsonContent);
                     for (const [type, content] of Object.entries(contentByType)) {
                         dataTransferItem.setData(type, content);
                     }