mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
break up jquery mobile
This commit is contained in:
parent
4565ac78ab
commit
973b43989d
25 changed files with 899 additions and 144 deletions
|
@ -2,19 +2,11 @@
|
|||
|
||||
function getView() {
|
||||
|
||||
if (AppInfo.hasLowImageBandwidth) {
|
||||
return 'ThumbCard';
|
||||
}
|
||||
|
||||
return 'Thumb';
|
||||
}
|
||||
|
||||
function getResumeView() {
|
||||
|
||||
if (AppInfo.hasLowImageBandwidth) {
|
||||
return 'PosterCard';
|
||||
}
|
||||
|
||||
return 'Poster';
|
||||
}
|
||||
|
||||
|
@ -119,9 +111,7 @@
|
|||
|
||||
var screenWidth = $(window).width();
|
||||
|
||||
var limit = AppInfo.hasLowImageBandwidth ?
|
||||
4 :
|
||||
6;
|
||||
var limit = 6;
|
||||
|
||||
var options = {
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue