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

fix now playing background

This commit is contained in:
Luke Pulverenti 2015-09-04 12:20:54 -04:00
parent c7fa2299da
commit def595ff8a
26 changed files with 603 additions and 695 deletions

View file

@ -1,5 +1,7 @@
(function ($, document) {
var pageBackgroundCreated;
function getElement() {
//var elem = $('.backdropContainer');
@ -12,6 +14,14 @@
var elem = document.documentElement;
elem.classList.add('backdropContainer');
if (!pageBackgroundCreated) {
pageBackgroundCreated = true;
var div = document.createElement('div');
div.classList.add('pageBackground');
document.body.insertBefore(div, document.body.firstChild);
}
return elem;
}