mirror of
https://iceshrimp.dev/crimekillz/trashposs
synced 2024-11-22 08:53:48 +01:00
Merge branch 'develop' of codeberg.org:calckey/calckey into develop
This commit is contained in:
commit
8b957e9865
@ -4,6 +4,8 @@
|
||||
import { defineAsyncComponent, Directive, ref } from "vue";
|
||||
import { isTouchUsing } from "@/scripts/touch";
|
||||
import { popup, alert } from "@/os";
|
||||
import { mainRouter } from "@/router";
|
||||
|
||||
|
||||
const start = isTouchUsing ? "touchstart" : "mouseover";
|
||||
const end = isTouchUsing ? "touchend" : "mouseleave";
|
||||
@ -99,6 +101,8 @@ export default {
|
||||
el.addEventListener(end, hideTooltip, { passive: true });
|
||||
el.addEventListener("focusout", hideTooltip, { passive: true });
|
||||
|
||||
mainRouter.on("change", hideTooltip);
|
||||
|
||||
el.addEventListener("click", () => {
|
||||
window.clearTimeout(self.showTimer);
|
||||
self.close();
|
||||
|
Loading…
Reference in New Issue
Block a user