Fix small things from code review

- Remove unused tailwind classes
- Added comment about timeout jsdoc
- Moved new CSS files to @import
This commit is contained in:
Wolfsblvt
2024-06-13 23:55:28 +02:00
parent 96f04a1c49
commit bdf7fccbae
4 changed files with 4 additions and 12 deletions

View File

@ -8,7 +8,7 @@ import { debounce_timeout } from './constants.js';
export class DragAndDropHandler {
/** @private @type {JQuery.Selector} */ selector;
/** @private @type {(files: File[], event:JQuery.DropEvent<HTMLElement, undefined, any, any>) => void} */ onDropCallback;
/** @private @type {NodeJS.Timeout} */ dragLeaveTimeout;
/** @private @type {NodeJS.Timeout} Remark: Not actually NodeJS timeout, but it's close */ dragLeaveTimeout;
/** @private @type {boolean} */ noAnimation;