SciPost Code Repository

Skip to content
Snippets Groups Projects
Commit 3df903b4 authored by Jean-Sébastien Caux's avatar Jean-Sébastien Caux
Browse files

Fix Search.vue component (remove outdated getElementById)

parent b74c2cad
No related branches found
No related tags found
No related merge requests found
...@@ -212,8 +212,6 @@ export default { ...@@ -212,8 +212,6 @@ export default {
fetchAvailableTabs() fetchAvailableTabs()
initialQuery.value = JSON.parse(document.getElementById('json_q').textContent) initialQuery.value = JSON.parse(document.getElementById('json_q').textContent)
}) })
// Close search form in header in case it is open
onMounted(() => document.getElementById('header-search-close-btn').click())
return { return {
availableTabs, availableTabs,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment