Running the following in Chrome always returns 0:
$(window).on('load', function(){
console.log($(window).scrollTop());
});
Running that same command via the console:
$(window).scrollTop()
Does return the correct number. (i.e.: 843)
There are a lot of questions about this issue here on StackOverflow but none of them have given me a correct working answer or alternative. I'm at a loss...