I have used the code in this thread to get urls to point directly to reviews: https://theme.co/apex/forums/topic/url-to-link-to-product-review/
However just noticed that now the code no longer works, I get the following error in the Chrome console:
Uncaught TypeError: Cannot read property 'top' of undefined
at HTMLDocument.<anonymous> ((index):1551)
at i (jquery.js?ver=1.12.4:2)
at Object.fireWith [as resolveWith] (jquery.js?ver=1.12.4:2)
at Function.ready (jquery.js?ver=1.12.4:2)
at HTMLDocument.K (jquery.js?ver=1.12.4:2)
Any idea of what might have changed? Using the latest X and Cornerstone versions.