Closed marcalexiei closed 6 years ago
Interesting. If the url is the same (hash change only), the panel just doesn't close. For links to other pages, everything is fine. Should be reasonably easy to $.click
that somewhere...
The problem seems caused by a JS error:
TypeError: jQuery('#mkdocs_search_modal').modal is not a function. (In 'jQuery('#mkdocs_search_modal').modal('hide')', 'jQuery('#mkdocs_search_modal').modal' is undefined)
which it seems to be related to mkdocs's
search plugin which use .modal that it a bootstrap related API
observe
)observe
oractive.observe
)Search panel is not closing (hash change but not page url).