update image sizes
This commit is contained in:
@@ -590,10 +590,10 @@
|
||||
getClientImage: function (connection) {
|
||||
|
||||
var clientLowered = connection.Client.toLowerCase();
|
||||
var device = connection.DeviceName.toLowerCase();
|
||||
|
||||
if (clientLowered == "dashboard" || clientLowered == "emby web client" || clientLowered == "emby mobile") {
|
||||
|
||||
var device = connection.DeviceName.toLowerCase();
|
||||
if (clientLowered == "dashboard" || clientLowered == "emby web client") {
|
||||
|
||||
var imgUrl;
|
||||
|
||||
@@ -615,6 +615,19 @@
|
||||
|
||||
return "<img src='" + imgUrl + "' alt='Emby Web Client' />";
|
||||
}
|
||||
if (clientLowered == "emby mobile") {
|
||||
|
||||
var imgUrl;
|
||||
|
||||
if (device.indexOf('iphone') != -1 || device.indexOf('ipad') != -1) {
|
||||
imgUrl = 'css/images/clients/ios.png';
|
||||
}
|
||||
else {
|
||||
imgUrl = 'css/images/clients/html5.png';
|
||||
}
|
||||
|
||||
return "<img src='" + imgUrl + "' alt='Emby Web Client' />";
|
||||
}
|
||||
if (clientLowered == "mb-classic") {
|
||||
|
||||
return "<img src='css/images/clients/mbc.png' />";
|
||||
|
||||
Reference in New Issue
Block a user