From 9bd9011eca859e96c01dae86bb5e3db4b986eca8 Mon Sep 17 00:00:00 2001 From: "mathieu.brunot" Date: Wed, 20 Feb 2019 02:30:55 +0100 Subject: [PATCH] :bug: Fix display of user tooltip --- frontend/src/uxbox/main/ui/users.cljs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/uxbox/main/ui/users.cljs b/frontend/src/uxbox/main/ui/users.cljs index 711d6447b..14af87779 100644 --- a/frontend/src/uxbox/main/ui/users.cljs +++ b/frontend/src/uxbox/main/ui/users.cljs @@ -49,8 +49,8 @@ photo (if (str/empty? (:photo profile "")) "/images/avatar.jpg" (:photo profile))] - [:div.user-zone {:on-mouse-down #(swap! local assoc :open true) - :on-mouse-up #(swap! local assoc :open false)} + [:div.user-zone {:on-mouse-enter #(swap! local assoc :open true) + :on-mouse-leave #(swap! local assoc :open false)} [:span (:fullname profile)] [:img {:src photo}] (user-menu (:open @local))]))