update popup so that it shows on hover
This commit is contained in:
parent
9e31f1cfea
commit
aa4fc7dede
1 changed files with 6 additions and 0 deletions
|
@ -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>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue