1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

fix report script

This commit is contained in:
Luke Pulverenti 2015-05-14 01:42:55 -04:00
parent af129fb92d
commit 284e61038d
8 changed files with 38 additions and 309 deletions

View file

@ -964,7 +964,7 @@
var div = $('<div class="card ' + shape + 'Card"><div class="cardBox"><div class="cardImage"></div></div></div>').appendTo(document.body);
var width = screenWidth / $('.cardImage', div).innerWidth();
div.remove();
return width;
return Math.floor(width);
}
var info = {};