Create account

modulus
2433d
Ok, its gonna be trouble maintaining memo++ Hopefully I can get around to contributing directly to the memo repo.
replied 2417d
Figured it out. I have a 1920x1080 monitor & when I scroll to the bottom, $(document).height()-$(window).scrollTop() is >800 so it never triggers.
modulus
replied 2417d
Ahh I knew hardcoding that would be problematic somehow. Most of the known ways to detect the bottom of the page doesn't seem to work for me.
replied 2417d
I think this is a better test:

($(window).scrollTop() + document.body.clientHeight) > $('.footer').position().top

It checks if top of the footer is above the bottom of the viewport.
modulus
replied 2417d
I've added your suggestion. Will update the chrome and firefox webstores soon.

https://bch.gg/86
replied 2417d
Awesome! Glad I could help, thanks for the tips too, though improving the community is its own reward.
modulus
replied 2417d
Nice! That's cleaner than checking an arbitrary 800px lol.
replied 2417d
I had to use document.body.clientHeight to get viewport height cuz memo is not including a <!DOCTYPE html> at the top of the page, which prevents usual $(window).height() from working.
replied 2418d
I installed chrome ext for mute feature, but never-ending feature isn't working for me and it deleted the next link on the bottom so I have to scroll back to top to go to next page.
modulus
replied 2417d
Sorry for bombarding you with questions, just trying to find out the root of the problem. I'm on the latest 0.4.5 and its been working fine for me thus far.
modulus
replied 2417d
Which page are you browsing? Which ext version? Does it show "Loading Never Ending Memo" at the bottom? If there's a problem, there should be an alert that says "Unable to load memos"
replied 2417d
This is what it looks like when I get to the bottom of the posts/ranked page. Nothing ever happens down there.
replied 2417d
Whoops, forgot img link. Here it is:
replied 2417d
I am a web app dev so if there is something you want me to look for, let me know. Was hoping was just a known issue, but if not, I can try to investigate some more.
replied 2417d
Hi. No loading indicator ever appears, or error. Using 0.4.5, installed from the chrome store today. Inspector didn't show any XHR requests triggered when hit bottom of ranked posts.