From 8349cdb74b9e407ac2a52ab35221acc32b3a98cf Mon Sep 17 00:00:00 2001 From: Jeff Becker Date: Fri, 26 Oct 2018 07:34:32 -0400 Subject: [PATCH] fix up logic --- contrib/static/overchan.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contrib/static/overchan.js b/contrib/static/overchan.js index 337e860..5c22aff 100644 --- a/contrib/static/overchan.js +++ b/contrib/static/overchan.js @@ -19,9 +19,9 @@ var nntpchan_mod_delete = function(longhash) { { // success (?) var j = JSON.parse(ajax.responseText); - if(j.deleted) + if(j.deleted && j.deleted.length > 0) { - elem.appendChild(document.createTextNode(j.deleted)); + elem.appendChild(document.createTextNode(j.deleted.join(","))); } else (j.error) {