mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
strip unused css from initial download
This commit is contained in:
parent
6a9accf68f
commit
2d014a82b4
10 changed files with 82 additions and 108 deletions
|
@ -674,6 +674,8 @@
|
|||
|
||||
function ensureVideoPlayerElements() {
|
||||
|
||||
Dashboard.importCss('css/mediaplayer-video.css');
|
||||
|
||||
var html = '<div id="mediaPlayer" style="display: none;">';
|
||||
|
||||
html += '<div class="videoBackdrop">';
|
||||
|
@ -745,7 +747,6 @@
|
|||
var div = document.createElement('div');
|
||||
div.innerHTML = html;
|
||||
document.body.appendChild(div);
|
||||
$(div).trigger('create');
|
||||
}
|
||||
|
||||
Dashboard.ready(function () {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue