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

update schedules direct

This commit is contained in:
Luke Pulverenti 2015-10-01 12:28:24 -04:00
parent 4acfe20470
commit a07e6b59a3
35 changed files with 215 additions and 314 deletions

View file

@ -2331,7 +2331,10 @@ var AppInfo = {};
var name = $.browser.android ? "Emby for Android" : ($.browser.safari ? "Emby for iOS" : "Emby Mobile");
init(deferred, capablities, name, appVersion, deviceId, device.model);
// Remove special characters
var cleanDeviceName = device.model.replace(/[^\w\s]/gi, '');
init(deferred, capablities, name, appVersion, deviceId, cleanDeviceName);
});
}