mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
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:
2
public/scripts/dragdrop.js
vendored
2
public/scripts/dragdrop.js
vendored
@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user