diff options
Diffstat (limited to '_layouts')
| -rw-r--r-- | _layouts/post.html | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/_layouts/post.html b/_layouts/post.html index 1de008b..54ae900 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -59,7 +59,9 @@ layout: default return; } else { const data = JSON.parse(event.data); - outputContainer.textContent += data.response; + if (data.response) { + outputContainer.textContent += data.response; + } } } }); |
