diff --git a/site/docs/.vuepress/theme/components/NavbarDropdown.vue b/site/docs/.vuepress/theme/components/NavbarDropdown.vue index 4aabb7f1d0c..512388a8f01 100644 --- a/site/docs/.vuepress/theme/components/NavbarDropdown.vue +++ b/site/docs/.vuepress/theme/components/NavbarDropdown.vue @@ -86,8 +86,8 @@ const isLastItemOfArray = (item, arr) => arr[arr.length - 1] === item; :item="child" @focusout=" isLastItemOfArray(child, item.children) && - child.children.length === 0 && - (open = false) + child.children.length === 0 && + (open = false) " /> @@ -104,8 +104,8 @@ const isLastItemOfArray = (item, arr) => arr[arr.length - 1] === item; :item="grandchild" @focusout=" isLastItemOfArray(grandchild, child.children) && - isLastItemOfArray(child, item.children) && - (open = false) + isLastItemOfArray(child, item.children) && + (open = false) " />