Change mouseover to mouseenter

This commit is contained in:
Pavel Djundik 2020-01-27 11:44:36 +02:00
parent 66cdec0075
commit 7afafdd25e
2 changed files with 2 additions and 2 deletions

View File

@ -27,7 +27,7 @@
{active: id === activeItem},
]"
role="menuitem"
@mouseover="hoverItem(id)"
@mouseenter="hoverItem(id)"
@click="clickItem(item)"
>
{{ item.label }}

View File

@ -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"
><slot>{{ user.mode }}{{ user.nick }}</slot></span