This reverts commit 136174e0ee
.
That worked only 50% of the time (at best), as it was conflicting with other topic-view scrolling code. The reverted feature will eventually be restored as I continue to fix scroll-related issues.
This commit is contained in:
parent
9c482a645c
commit
d2ea39c932
|
@ -117,15 +117,6 @@ const DiscourseURL = EmberObject.extend({
|
|||
|
||||
if (!holder) {
|
||||
selector = holderId;
|
||||
|
||||
if (
|
||||
document.getElementsByClassName(
|
||||
`topic-post-visited-line post-${postNumber - 1}`
|
||||
)?.length === 1
|
||||
) {
|
||||
selector = ".small-action.topic-post-visited";
|
||||
}
|
||||
|
||||
holder = document.querySelector(selector);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue