Changes

From Life After BOB Wiki
4 bytes removed ,  16:32, 12 June 2021
no edit summary
Line 13: Line 13:  
//hover
 
//hover
   −
$('.fc-img').onmouseenter(function(){
+
$('.fc-img').mouseenter(function(){
 
   console.log("on hover");
 
   console.log("on hover");
 
   $(this).parent().css('background','rgba(255, 255, 255, 0.3)')
 
   $(this).parent().css('background','rgba(255, 255, 255, 0.3)')
 
})
 
})
   −
$('.fc-img').onmouseenter(function(){
+
$('.fc-img').mouseleave(function(){
 
   console.log("on hover");
 
   console.log("on hover");
 
   $(this).parent().css('background','rgba(255, 255, 255, 0.87)')
 
   $(this).parent().css('background','rgba(255, 255, 255, 0.87)')