fix support for detailed-status

This commit is contained in:
nachtjasmin 2023-06-29 21:04:41 +02:00
parent 8bb1709f69
commit f7a6c5672d
No known key found for this signature in database

View file

@ -160,7 +160,7 @@ async function addProplate(element) {
//objects that are not statuses would be added twice,
//notifications and such do not have their own data-id, just their articles
if (element.nodeName == "DIV" && type != "status") {
if (element.nodeName == "DIV" && !(type === "status" || type === "detailed-status")) {
element.setAttribute("protoots-checked", "true");
return;
}