aboutsummaryrefslogtreecommitdiff
path: root/src/main/resources/js/fileview.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/resources/js/fileview.js')
-rw-r--r--src/main/resources/js/fileview.js2
1 files changed, 2 insertions, 0 deletions
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", () => {