Permalink
Browse files

Fix crash in overlay when hover at card without images

  • Loading branch information...
trachukov committed Jan 20, 2019
1 parent 45369da commit 6569f9cba8e1cfd51cc3f874166fb2d1069bbe55
Showing with 2 additions and 0 deletions.
  1. +2 −0 shared/util.js
@@ -181,6 +181,8 @@ function selectAdd(div, callback) {

//
function addCardHover(div, _card) {
if (!_card || !_card.images) return;

div.on('mouseenter', function() {
$('.main_hover').css("opacity", 1);
let dfc = '';

0 comments on commit 6569f9c

Please sign in to comment.