Make Error turn grey when you read the thread
This commit is contained in:
parent
31b960a481
commit
7426801395
|
@ -98,6 +98,11 @@ var xhr_and_key = (function xhr_and_key(board, a, id, key, oldreplies, closed, e
|
||||||
}
|
}
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
elem.innerHTML = red("Error");
|
elem.innerHTML = red("Error");
|
||||||
|
(function(elem) {
|
||||||
|
elem.addEventListener("click", function() {
|
||||||
|
elem.innerHTML = grey("Error");
|
||||||
|
});
|
||||||
|
})(elem);
|
||||||
console.log(e);
|
console.log(e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue