improve nojs messages

This commit is contained in:
Robin Appelman 2023-11-26 17:26:22 +01:00
commit f70103367a
5 changed files with 12 additions and 6 deletions

View file

@ -5,6 +5,7 @@ import {count_ticks} from "./edit/tools";
import {Editor} from "./edit/EditPage";
ready(async () => {
document.querySelectorAll('.onlyscript').forEach(e => e.classList.remove('onlyscript'));
const fileInput: HTMLInputElement | null = document.querySelector(`.dropzone input[type="file"]`);
const drop_text = document.querySelector(`.dropzone .text`);