From 7afafdd25e2b83799d455d18138ce7ba966248ea Mon Sep 17 00:00:00 2001 From: Pavel Djundik Date: Mon, 27 Jan 2020 11:44:36 +0200 Subject: [PATCH] Change mouseover to mouseenter --- client/components/ContextMenu.vue | 2 +- client/components/Username.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/client/components/ContextMenu.vue b/client/components/ContextMenu.vue index f060bb0d..81011443 100644 --- a/client/components/ContextMenu.vue +++ b/client/components/ContextMenu.vue @@ -27,7 +27,7 @@ {active: id === activeItem}, ]" role="menuitem" - @mouseover="hoverItem(id)" + @mouseenter="hoverItem(id)" @click="clickItem(item)" > {{ item.label }} diff --git a/client/components/Username.vue b/client/components/Username.vue index 80f6023f..a301da37 100644 --- a/client/components/Username.vue +++ b/client/components/Username.vue @@ -3,7 +3,7 @@ :class="['user', nickColor, {active: active}]" :data-name="user.nick" role="button" - v-on="onHover ? {mouseover: hover} : {}" + v-on="onHover ? {mouseenter: hover} : {}" @click.prevent="openContextMenu" @contextmenu.prevent="openContextMenu" >{{ user.mode }}{{ user.nick }}