File tree Expand file tree Collapse file tree 1 file changed +0
-10
lines changed
Expand file tree Collapse file tree 1 file changed +0
-10
lines changed Original file line number Diff line number Diff line change @@ -105,16 +105,6 @@ const onTagChicletCarouselItemsAdded = ([carousel]) => {
105105export const main = async function ( ) {
106106 const { stopAtCaughtUp } = await getPreferences ( 'scroll_to_bottom' ) ;
107107
108- pageModifications . register ( '[tabindex="-1"][data-id]' , ( postElements ) => {
109- for ( const postElement of postElements ) {
110- if ( Math . random ( ) < 0.05 ) {
111- console . log ( 'simulating scroll stop' , getTimelineItemWrapper ( postElement ) ) ;
112- onTagChicletCarouselItemsAdded ( [ getTimelineItemWrapper ( postElement ) ] ) ;
113- break ;
114- }
115- }
116- } ) ;
117-
118108 pageModifications . register ( `button[aria-label="${ translate ( 'Scroll to top' ) } "]` , addButtonToPage ) ;
119109 pageModifications . register ( knightRiderLoaderSelector , onLoadersAdded ) ;
120110 stopAtCaughtUp && pageModifications . register ( `${ tagChicletCarouselLinkSelector } , [${ borderAttribute } ]` , onTagChicletCarouselItemsAdded ) ;
You can’t perform that action at this time.
0 commit comments