summaryrefslogtreecommitdiffstats
path: root/core/src
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2021-01-18 13:43:46 +0100
committerJoas Schilling <coding@schilljs.com>2021-01-18 13:53:42 +0100
commit18fdefee0bbe0a494f4166061da1e6bb9a6369c8 (patch)
treece850b37d2bad1045aa26ed185062fc610e407db /core/src
parente9b5805e6c80ff2ccba7f6eb5f9213dce7e756e0 (diff)
downloadnextcloud-server-18fdefee0bbe0a494f4166061da1e6bb9a6369c8.tar.gz
nextcloud-server-18fdefee0bbe0a494f4166061da1e6bb9a6369c8.zip
Readd element ID after component mount.
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'core/src')
-rw-r--r--core/src/components/HeaderMenu.vue6
1 files changed, 5 insertions, 1 deletions
diff --git a/core/src/components/HeaderMenu.vue b/core/src/components/HeaderMenu.vue
index bb58ba27ab3..12afa16e091 100644
--- a/core/src/components/HeaderMenu.vue
+++ b/core/src/components/HeaderMenu.vue
@@ -20,7 +20,11 @@
-
-->
<template>
- <div v-click-outside="clickOutsideConfig" :class="{ 'header-menu--opened': opened }" class="header-menu">
+ <div
+ :id="id"
+ v-click-outside="clickOutsideConfig"
+ :class="{ 'header-menu--opened': opened }"
+ class="header-menu">
<a class="header-menu__trigger"
href="#"
:aria-controls="`header-menu-${id}`"