mirror of
https://github.com/ItsVipra/ProToots
synced 2024-09-20 13:51:56 +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,
|
||||
//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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue