fix up logic
This commit is contained in:
parent
f1adf381ce
commit
8349cdb74b
@ -19,9 +19,9 @@ var nntpchan_mod_delete = function(longhash) {
|
|||||||
{
|
{
|
||||||
// success (?)
|
// success (?)
|
||||||
var j = JSON.parse(ajax.responseText);
|
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)
|
else (j.error)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user