mirror of
https://github.com/BetterSEQTA/BetterSEQTA-Plus.git
synced 2026-06-06 03:34:40 +00:00
added types to sortablejs
This commit is contained in:
+1
-4
@@ -2,8 +2,7 @@
|
||||
import browser from 'webextension-polyfill';
|
||||
import { animate, spring, stagger } from 'motion';
|
||||
import Color from 'color';
|
||||
// @ts-ignore
|
||||
import Sortable, { AutoScroll } from 'sortablejs/modular/sortable.core.esm';
|
||||
import Sortable from 'sortablejs';
|
||||
|
||||
import ShortcutLinks from './seqta/content/links.json';
|
||||
import MenuitemSVGKey from './seqta/content/MenuItemSVGKey.json';
|
||||
@@ -1044,8 +1043,6 @@ export function OpenMenuOptions() {
|
||||
result1.then(open, onError);
|
||||
|
||||
try {
|
||||
Sortable.mount(new AutoScroll());
|
||||
|
||||
var el = document.querySelector('#menu > ul');
|
||||
var sortable = Sortable.create((el as HTMLElement), {
|
||||
draggable: '.draggable',
|
||||
|
||||
Reference in New Issue
Block a user