mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update icons
This commit is contained in:
parent
a12fb807ef
commit
0bc95efe7e
61 changed files with 2966 additions and 320 deletions
|
@ -2,14 +2,14 @@
|
|||
|
||||
function getElement() {
|
||||
|
||||
var elem = $('.backdropContainer');
|
||||
//var elem = $('.backdropContainer');
|
||||
|
||||
if (!elem.length) {
|
||||
//if (!elem.length) {
|
||||
|
||||
elem = $('<div class="backdropContainer"></div>').prependTo(document.body);
|
||||
}
|
||||
// elem = $('<div class="backdropContainer"></div>').prependTo(document.body);
|
||||
//}
|
||||
|
||||
return elem;
|
||||
return $(document.documentElement).addClass('backdropContainer');
|
||||
}
|
||||
|
||||
function getRandom(min, max) {
|
||||
|
@ -112,7 +112,7 @@
|
|||
|
||||
function clearBackdrop() {
|
||||
|
||||
$('.backdropContainer').css('backgroundImage', '');
|
||||
$('.backdropContainer').css('backgroundImage', '').removeClass('backdropContainer');
|
||||
}
|
||||
|
||||
function isEnabledByDefault() {
|
||||
|
@ -122,12 +122,6 @@
|
|||
return false;
|
||||
}
|
||||
|
||||
// It flickers too much in IE
|
||||
if ($.browser.msie) {
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
if ($.browser.android && AppInfo.isNativeApp) {
|
||||
return screen.availWidth >= 1200;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue