diff --git a/frontend.js b/frontend.js index dd2cd97..faa9849 100644 --- a/frontend.js +++ b/frontend.js @@ -5,7 +5,7 @@ // Functions for commonly used elements // get element by id function getElementById(el) { - document.getElementById(el) + return document.getElementById(el) } //Convert markdown to HTML and back