Files
CT/src/View/utility.ts
T

11 lines
222 B
TypeScript
Raw Normal View History

2024-07-25 16:20:43 +02:00
export function allowDrop(event: DragEvent) {
event.preventDefault();
}
2024-07-25 18:16:29 +02:00
export function allowDrag(event: DragEvent) {
event.dataTransfer?.setData("text", "")
2024-07-28 03:46:08 +02:00
}
export function reload() {
window.location.reload();
2024-07-25 18:16:29 +02:00
}