File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -123,8 +123,8 @@ defineEmits<{
123123 aria-controls =" header-search"
124124 aria-label =" Recherche"
125125 title =" Recherche"
126- :data-fr-opened =" showSearchModal "
127- @click =" showSearchModal"
126+ :data-fr-opened =" searchModalOpened "
127+ @click.prevent.stop =" showSearchModal() "
128128 />
129129 <button
130130 v-if =" quickLinks?.length"
@@ -136,7 +136,7 @@ defineEmits<{
136136 aria-label =" Menu"
137137 title =" Menu"
138138 data-testid =" open-menu-btn"
139- @click =" showMenu()"
139+ @click.prevent.stop =" showMenu()"
140140 />
141141 </div >
142142 </div >
@@ -218,7 +218,7 @@ defineEmits<{
218218 class =" fr-btn fr-btn--close"
219219 aria-controls =" header-navigation"
220220 data-testid =" close-modal-btn"
221- @click =" hideModal"
221+ @click.prevent.stop =" hideModal() "
222222 >
223223 Fermer
224224 </button >
@@ -246,7 +246,7 @@ defineEmits<{
246246 </div >
247247 </div >
248248 </div >
249- <slot />
249+ <slot />
250250 </div >
251251 </div >
252252 </header >
You can’t perform that action at this time.
0 commit comments