forked from DGNum/lanuit.ens.fr
11 lines
338 B
JavaScript
11 lines
338 B
JavaScript
|
$(document).ready(() => {
|
||
|
$('.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")
|
||
|
});
|
||
|
});
|