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

update translations

This commit is contained in:
Luke Pulverenti 2015-09-24 15:30:25 -04:00
parent 1ae53be25d
commit 764a5ac824
78 changed files with 13161 additions and 12936 deletions

View file

@ -1,7 +1,6 @@
(function () {
var syncPromise;
var lastStart = 0;
window.LocalSync = {
@ -19,8 +18,6 @@
require(['multiserversync'], function () {
lastStart = new Date().getTime();
options = options || {};
if ($.browser.safari) {
@ -49,24 +46,4 @@
return 'Idle';
}
};
var syncInterval = 1800000;
function restartInterval() {
if (LocalSync.isSupported) {
setInterval(function () {
//LocalSync.startSync();
}, syncInterval);
if (lastStart > 0 && (now - lastStart) >= syncInterval) {
//LocalSync.startSync();
}
}
//LocalSync.startSync();
}
Dashboard.ready(restartInterval);
document.addEventListener("resume", restartInterval, false);
})();