update popup so that it shows on hover

This commit is contained in:
Paul Fournier 2023-11-02 14:26:43 +01:00
parent 9e31f1cfea
commit aa4fc7dede

View file

@ -629,6 +629,12 @@
$('.popup-trigger').click(function(){ $('.popup-trigger').click(function(){
$(this).children($('.popup')).toggleClass("show") $(this).children($('.popup')).toggleClass("show")
}); });
$('.popup-trigger').mouseenter(function(){
$(this).children($('.popup')).addClass("show")
});
$('.popup-trigger').mouseleave(function(){
$(this).children($('.popup')).removeClass("show")
});
}); });
</script> </script>