Archived
1
0

i hate js

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

View File

@ -19,14 +19,10 @@ var nntpchan_mod_delete = function(longhash) {
{
// success (?)
var j = JSON.parse(ajax.responseText);
if(j.deleted && j.deleted.length > 0)
if(j.deleted.length > 0)
{
elem.appendChild(document.createTextNode(j.deleted.join(",")));
}
else (j.error)
{
elem.innerHTML = "an error occured: " + j.error ;
}
}
else
{