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

remove jqmcheckbox from global

This commit is contained in:
Luke Pulverenti 2016-02-11 13:29:32 -05:00
parent cf11f24cc7
commit 03c6dcc4f1
20 changed files with 32 additions and 33 deletions

View file

@ -2449,7 +2449,8 @@ var AppInfo = {};
});
}
var deviceId = appStorage.getItem('_deviceId');
var deviceIdKey = '_deviceId1';
var deviceId = appStorage.getItem(deviceIdKey);
if (deviceId) {
onDeviceAdAcquired(deviceId);
@ -2460,7 +2461,7 @@ var AppInfo = {};
keys.push((navigator.cpuClass || ""));
keys.push(new Date().getTime());
var randomId = CryptoJS.SHA1(keys.join('|')).toString();
appStorage.setItem('_deviceId', randomId);
appStorage.setItem(deviceIdKey, randomId);
onDeviceAdAcquired(randomId);
});
}
@ -2522,11 +2523,11 @@ function addLegacyDependencies(depends, url) {
if (isPluginpage) {
depends.push('jqmpopup');
depends.push('jqmcollapsible');
depends.push('jqmcheckbox');
}
depends.push('jqmcontrolgroup');
depends.push('jqmlistview');
depends.push('jqmcheckbox');
depends.push('scripts/notifications');
}