gfranko / jquery.tocify.js

A jQuery Table of Contents plugin that can be themed with Twitter Bootstrap or jQueryUI.
http://gregfranko.com/jquery.tocify.js/
MIT License
927 stars 217 forks source link

page extend only the second time #12

Closed paglias closed 11 years ago

paglias commented 11 years ago

Hi, I've noticed that when opening a section from the sidebar where the page should be extended (see http://gregfranko.com/jquery.tocify.js/ and click on donation on the toc) the page is extended only when you click for the second time "Donation" and the same happens when you open the page with an hash in the url (http://gregfranko.com/jquery.tocify.js/#Donation)

gfranko commented 11 years ago

@paglias Although the page height was getting correctly extended, the window scrollTop was not getting correctly calculated with the new window height . This issue should now be fixed.

Thanks again for filing the bug report and please let me know if you find/need anything else.

paglias commented 11 years ago

just fantastic, thanks!