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:
parent
af129fb92d
commit
284e61038d
8 changed files with 38 additions and 309 deletions
|
@ -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 = {};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue