Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

Click JS loads instead of Scroll JS

$
0
0

Replies: 0

I’m working on a site and the click js version of the file is being loaded, instead of the scroll.

I checked the option value in the database and it’s set to 2.

I checked the results of $file based on the code and it returns: ‘llc_scroll’

$file = ( get_option( 'lazy_load_comments', 1 ) == 2 ) ? 'llc_scroll' : 'llc_click';

I didn’t see any filters that would overwrite the option.

Can you provide any details on if this is a bug, or is there something else affecting the code?


Viewing all articles
Browse latest Browse all 59525

Trending Articles