mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
remove more jquery and unneeded components
This commit is contained in:
parent
9abecac88b
commit
728f77be94
210 changed files with 569 additions and 32746 deletions
|
@ -2,7 +2,7 @@
|
|||
|
||||
function itemsPerRow() {
|
||||
|
||||
var screenWidth = $(window).width();
|
||||
var screenWidth = window.innerWidth;
|
||||
|
||||
return screenWidth >= 1920 ? 9 : (screenWidth >= 1200 ? 12 : (screenWidth >= 1000 ? 10 : 8));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue