Line 13: |
Line 13: |
| //hover | | //hover |
| | | |
− | $('.fc-img').hover(function(){ | + | $('.fc-img').onmouseenter(function(){ |
| console.log("on hover"); | | console.log("on hover"); |
− | $(this).parent().css('background','white') | + | $(this).parent().css('background','rgba(255, 255, 255, 0.3)') |
| }) | | }) |
| + | |
| + | $('.fc-img').onmouseenter(function(){ |
| + | console.log("on hover"); |
| + | $(this).parent().css('background','rgba(255, 255, 255, 0.87)') |
| + | }) |
| + | |
| | | |
| | | |