imakewebthings/jquery-waypoints — Issue #36: waypoint() function fires without scroll
Author: jerryji
Created: 2012-01-08 16:46:07+00:00
State: open

Dear Mr. Troughton,

I'm struggling with a weird problem that waypoint() fires upon page load before any scroll happens (in FF, Opera, and Chrome, IE 8 seems to behave differently, but I'll leave it to another day)

Being a JavaScript novice, I'd _really_ appreciate if you could take a look. For which I have opened up a backdoor in my production site at

http://74.207.247.52:6543/

which upon loading will fire waypoint() (as can be verified with HttpFox) of the $.get() to http://74.207.247.52:6543/biz_ajax/dcc46f90035544a587033c2f7d4bdb35 (this URL might change if there are new user submission, but its location can be easily pined in the HTML) before any scroll can happen. The intended behavior is obviously to load new items only when user scrolls to the bottom of the page.

I truly hope it's something stupid that I did or can be fixed quickly.

Sincerely,
Jerry