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

@ -6,6 +6,7 @@ import {render} from "solid-js/web";
import {Analyser} from "./viewer/Analyse/Analyser";
ready(async () => {
document.querySelectorAll('.onlyscript').forEach(e => e.classList.remove('onlyscript'));
const fileInput: HTMLInputElement | null = document.querySelector(`.dropzone input[type="file"]`);
const urlInput: HTMLInputElement | null = document.querySelector(`.viewer-page input[name="url"]`);
const drop_text = document.querySelector(`.dropzone .text`);