Docsearch dropdown not always working
Closed this issue · 3 comments
pixelastic commented
On https://www.algolia.com/doc/ruby, if I search for browse
and select the second result, nothing happens:
Uncaught TypeError: Cannot read property 'top' of undefined
$(window).on('hashchange', function(event) {
$('html, body').scrollTop($(window.location.hash).offset().top - offset);
});
redox commented
Arg, actually the index content is outdated and we're relying on finding the $(window.location.hash)
DOM element in the page. Which is not true here, so undefined
& fail. I'll run the re-indexing now.
pixelastic commented
Isn't it a DocSearch crawling?
redox commented
Isn't it a DocSearch crawling?
Not yet :)