mirror of
https://github.com/zedeus/nitter.git
synced 2024-12-12 02:56:29 +00:00
Improve infinite scroll selector, fixes threads
This commit is contained in:
parent
db100bbf17
commit
155909aa9f
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ window.onload = function() {
|
|||
const url = window.location.pathname;
|
||||
const isTweet = url.indexOf("/status/") !== -1;
|
||||
const containerClass = isTweet ? ".replies" : ".timeline";
|
||||
const itemClass = isTweet ? ".thread-line" : ".timeline-item";
|
||||
const itemClass = containerClass + ' > div:not(.top-ref)';
|
||||
|
||||
var html = document.querySelector("html");
|
||||
var container = document.querySelector(containerClass);
|
||||
|
|
Loading…
Reference in a new issue