diff --git a/routes/_components/list/ListItem.html b/routes/_components/list/ListItem.html index 2044067e..d67b63c9 100644 --- a/routes/_components/list/ListItem.html +++ b/routes/_components/list/ListItem.html @@ -1,7 +1,5 @@ -
+
article[aria-posinset="${n}"]` + return `.list-item > article[aria-posinset="${n}"]` } export function getNthStatusContent (n) { @@ -173,12 +173,8 @@ export function getNthStatusAndImage (nStatus, nImage) { return $(`${getNthStatusSelector(nStatus)} .status-media .show-image-button:nth-child(${nImage + 1}) img`) } -export function getLastVisibleStatus () { - return $(`div[aria-hidden="false"] > article[aria-posinset]`).nth(-1) -} - export function getFirstVisibleStatus () { - return $(`div[aria-hidden="false"] > article[aria-posinset]`).nth(0) + return $(`.list-item > article[aria-posinset]`).nth(0) } export function getNthReplyButton (n) {