Updated esbuild options and version & updated npm deps

Had to change way sortable is imported due to changes, Still
seemed to have functioning multi-select.
This commit is contained in:
Dan Brown
2020-09-30 22:28:53 +01:00
parent 465d405926
commit ea406690f5
3 changed files with 19 additions and 20 deletions

View File

@ -1,4 +1,4 @@
import {Sortable, MultiDrag} from "sortablejs";
import Sortable from "sortablejs";
// Auto sort control
const sortOperations = {
@ -43,7 +43,6 @@ class BookSort {
this.input = elem.querySelector('[book-sort-input]');
const initialSortBox = elem.querySelector('.sort-box');
Sortable.mount(new MultiDrag());
this.setupBookSortable(initialSortBox);
this.setupSortPresets();