From dd56bcdf951a8868461c80f72783a0e411e4fae4 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Sun, 14 Apr 2019 18:03:51 +0200 Subject: Added settings support for non-preview files --- src/main/resources/js/fileview.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/main/resources/js/fileview.js') diff --git a/src/main/resources/js/fileview.js b/src/main/resources/js/fileview.js index c6b10f2..c34ce27 100644 --- a/src/main/resources/js/fileview.js +++ b/src/main/resources/js/fileview.js @@ -33,6 +33,8 @@ if (extension === "md" || extension === "html") { settings.style.display = "none"; } }); +} else { + settings.style.display = "block"; } code.addEventListener("change", () => { -- cgit v1.2.3