diff options
Diffstat (limited to 'static/index.js')
-rw-r--r-- | static/index.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/static/index.js b/static/index.js index 4ba2b19..094011b 100644 --- a/static/index.js +++ b/static/index.js @@ -95,6 +95,7 @@ function replaceOutput(content, className) { } function appendOutput(content, className) { + if (!content) return; const element = document.createElement("pre"); element.textContent = content; element.className = className; |