aboutsummaryrefslogtreecommitdiff
path: root/src/main/resources/js/fileview.js
diff options
context:
space:
mode:
authorMarvin Borner2019-04-17 01:01:15 +0200
committerMarvin Borner2019-04-17 01:01:15 +0200
commit1b790423c46498b96ad2cd0671114226c9941f9f (patch)
tree5e3bcbb72f338289a3af8e548f03e80586fa9d75 /src/main/resources/js/fileview.js
parent8ce2f4200861f2ba217fa4ca0400137c94dcd05a (diff)
Removed fontawesome dependency by replacing icons
Co-authored-by: LarsVomMars <lars@kroenner.eu>
Diffstat (limited to 'src/main/resources/js/fileview.js')
-rw-r--r--src/main/resources/js/fileview.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/main/resources/js/fileview.js b/src/main/resources/js/fileview.js
index d4c85da..80686bc 100644
--- a/src/main/resources/js/fileview.js
+++ b/src/main/resources/js/fileview.js
@@ -37,7 +37,11 @@ if (extension === "html") {
}
});
} else if (extension === "md") {
- const simplemde = new SimpleMDE({element: modify, hideIcons: ["fullscreen", "preview", "guide"]});
+ const simplemde = new SimpleMDE({
+ element: modify,
+ hideIcons: ["fullscreen", "preview", "guide"],
+ autoDownloadFontAwesome: false
+ });
simplemde.value(originalContent);
content.style.display = "none";
html.style.overflow = "visible";