mirror of
https://github.com/ItsVipra/ProToots
synced 2024-11-10 14:14:19 +00:00
fix support for detailed-status
This commit is contained in:
parent
8bb1709f69
commit
f7a6c5672d
1 changed files with 1 additions and 1 deletions
|
@ -160,7 +160,7 @@ async function addProplate(element) {
|
||||||
|
|
||||||
//objects that are not statuses would be added twice,
|
//objects that are not statuses would be added twice,
|
||||||
//notifications and such do not have their own data-id, just their articles
|
//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");
|
element.setAttribute("protoots-checked", "true");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue