Skip to content

Instantly share code, notes, and snippets.

@Drag13
Last active January 7, 2017 11:13
Show Gist options
  • Save Drag13/9f54b3dcfe25560d8f5ecf2609e1cdf0 to your computer and use it in GitHub Desktop.
Save Drag13/9f54b3dcfe25560d8f5ecf2609e1cdf0 to your computer and use it in GitHub Desktop.
if ($elem.scrollTop() + $elem.innerHeight() >= $elem[0].scrollHeight) { console.log(bot scroll reached!); }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment