From aa4fc7dede94470d71f49ea48f62103921a3142e Mon Sep 17 00:00:00 2001 From: Paul Fournier Date: Thu, 2 Nov 2023 14:26:43 +0100 Subject: [PATCH] update popup so that it shows on hover --- www/index.html | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/www/index.html b/www/index.html index 73cd22e..592569f 100644 --- a/www/index.html +++ b/www/index.html @@ -629,6 +629,12 @@ $('.popup-trigger').click(function(){ $(this).children($('.popup')).toggleClass("show") }); + $('.popup-trigger').mouseenter(function(){ + $(this).children($('.popup')).addClass("show") + }); + $('.popup-trigger').mouseleave(function(){ + $(this).children($('.popup')).removeClass("show") + }); });