Links in the TOC not working on Safari

When I click on a link in the table of contents in Safari, nothing happens. In Chrome it works as expected.