Direct links to last post on page fail. (show selected message script fails)


Neelix

Insecticidal Maniac
Joined
Jan 8, 2011
Messages
3,279
Location
Melbourne, Australia
When clicking a direct link to a specific message  (e.g. View first unread post) If that message is the last on the page then the script that is supposed to position the top of that message at the top of the window when the page is completed downloaded fails.  Instead it drops you to the bottom of the page and you have to scroll up to see the message you were trying to view.

-Neelix

Edit:  I would add that the script sometimes fails even if the target message isn't the last on the page. 
 
Last edited by a moderator:
Interestingly this particular feature seems to work correctly using JSless Dillo (which obviously has other problems). So the problem might be some racing condition in the JS execution making it difficult to track down.
 
Sorry for double posting. Was double clicking the save button
 
Last edited by a moderator:
Yes, in my experience on first load it does jump to the right place, but a fraction of a second later something kicks in which drops it to the bottom of the page.  That would suggest that the anchor is in the right place, but the JS is then doing something incorrect after page load.
 
Back
Top