diff options
author | 2019-04-13 15:33:31 +0100 | |
---|---|---|
committer | 2019-04-13 15:33:31 +0100 | |
commit | e8e8b06bf763793f81a9a4515cf1906ab45c9f66 (patch) | |
tree | 06e597457cda521dde1aaa133674b13994ed7477 /pydis_site/static/js | |
parent | SimpleMDE editor for wiki Markdown (diff) |
Small cosmetic changes
Diffstat (limited to 'pydis_site/static/js')
-rw-r--r-- | pydis_site/static/js/wiki/load_editor.js | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/pydis_site/static/js/wiki/load_editor.js b/pydis_site/static/js/wiki/load_editor.js index 95aa3d65..a9f78e65 100644 --- a/pydis_site/static/js/wiki/load_editor.js +++ b/pydis_site/static/js/wiki/load_editor.js @@ -1,10 +1,8 @@ (function() { - window.editors = {}; + window.editors = {}; // So that other scripts can get at 'em let elements = document.getElementsByClassName("simple-mde"); - console.log(elements); - for (let element of elements) { window.editors[element.id] = new SimpleMDE({ "element": element, |