From f7a6c5672d4c0ccd95c484be9c5f34dbcf497e68 Mon Sep 17 00:00:00 2001 From: nachtjasmin Date: Thu, 29 Jun 2023 21:04:41 +0200 Subject: [PATCH] fix support for detailed-status --- src/content_scripts/protoots.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/content_scripts/protoots.js b/src/content_scripts/protoots.js index 363c237..540baed 100644 --- a/src/content_scripts/protoots.js +++ b/src/content_scripts/protoots.js @@ -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; }