A good question.
So a couple of additional details.
Browsing the TOC seems to work fine. The Search functionality also seems to be fine.
What causes this issue is the Index. And even more specifically, I seem to be able to use the Index alright, clicking on a term, searching for terms, and so on. The problem only arises if I reach the end of the Index. This includes both scrolling to the end of the index, or typing Z which would of course scroll all the way down to the end of the Index.
I retested this scenario on my Windows computer and Firefox, and I do not see the issue. So it seems to be specific to the Mac machine.
I can also provide the line of code it seems to be reaching an error on in the whhost.js file if that would be helpful.
Fair enough, but this is also happening on Firefox. (version 28 is what is installed on the Mac machine)
So the line of code it is failing on is the following:
For the full context, this line of code is in the following if statement.
Not sure what this does, but looks like it is related to scrolling and Mac support.
So what I also did was I removed this if statement entirely from whhost.js. Low and behold I no longer receive this issue either on Firefox or Safari on my Mac machine. So this seems to have "fixed" this issue, but I am always hesitant to make such manual changes as I do not know what other problems this could cause. Any idea why this code would cause this problem and if it is safe to remove it? Not sure that I know how to reverse engineer this one.
Sorry, no idea either – I’m no .js master like Willam ;>)