When I first go to a "diff'd" page, it tries to autoscroll to the first diff. But the page hasn't finished loading yet, so it gets stuck somewhere in the middle.
If I revisit the page again later, it works fine (because my browser has cached the whole page)
@briank-git I suspect we need to add an explicit wait until the page is done loading before the autoscroll happens.
(fun fact: I didn't change anything in the book except for the version control chapter. So all the diffs that are highlighted in classification1,2 etc are unintended changes that were caught! :D )
See the new example here:
https://python.datasciencebook.ca/diff350/index.html
When I first go to a "diff'd" page, it tries to autoscroll to the first diff. But the page hasn't finished loading yet, so it gets stuck somewhere in the middle.
If I revisit the page again later, it works fine (because my browser has cached the whole page)
@briank-git I suspect we need to add an explicit wait until the page is done loading before the autoscroll happens.
(fun fact: I didn't change anything in the book except for the version control chapter. So all the diffs that are highlighted in classification1,2 etc are unintended changes that were caught! :D )