Now it doesn't seem to scroll down at all.Oh no, with all this whining I just spent half an hour learning motherfucking javascript to fix everything, you better implement this shit:
Same function, further down:
Make this scroll to bottom function look like this:
Result: Scrolls all the way down if, and only if, the user is already at the bottom. Otherwise, stays in the current spot. No idea if it works right for mobile, since there's no practical way for me to test it.
Now it doesn't seem to scroll down at all.
maybe i can fix this with Inspect - for me anywayNow it doesn't seem to scroll down at all.
You are typo. $("#taigachat_box").get(0).scrollheight; should be $("#taigachat_box").get(0).scrollHeight;
Capitalization is much important, separates a variable from a non-value.
Might be because I'm zoomed in at 150-175 percent then. But I can't read webpages in 100%. Everything is too small and webpages typically don't fit the whole screen.still works for me and I'm on chrome (the one on the shoutbox page, the one on the main page breaks eventually for me too)