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

update reports

This commit is contained in:
Luke Pulverenti 2015-07-27 15:16:30 -04:00
parent 66a4e3975c
commit c71ac12b24
2 changed files with 16 additions and 7 deletions

View file

@ -2066,11 +2066,20 @@ var AppInfo = {};
});
}
var pageContainer = document.querySelector('.pageContainer');
var pageContainerInnerHtml = pageContainer ? pageContainer.innerHTML : '';
function onConnectionManagerCreated(deferred) {
Globalize.ensure().done(function () {
$(function () {
document.title = Globalize.translateDocument(document.title, 'html');
if (pageContainer) {
pageContainer.innerHTML = Globalize.translateDocument(pageContainerInnerHtml, 'html');
}
onDocumentReady();
Dashboard.initPromiseDone = true;
$.mobile.initializePage();