Archived
1
0

fix up logic

This commit is contained in:
Jeff Becker 2018-10-26 07:34:32 -04:00
parent f1adf381ce
commit 8349cdb74b
No known key found for this signature in database
GPG Key ID: F357B3B42F6F9B05

View File

@ -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)
{