Added platform 'Linux' to link to image linux.png
This commit is contained in:
@@ -258,6 +258,8 @@ function getPlatformImagePath(platformName) {
|
|||||||
return 'images/platforms/pmp.png';
|
return 'images/platforms/pmp.png';
|
||||||
} else if (platformName.indexOf("PlexTogether") > -1) {
|
} else if (platformName.indexOf("PlexTogether") > -1) {
|
||||||
return 'images/platforms/plextogether.png';
|
return 'images/platforms/plextogether.png';
|
||||||
|
} else if (platformName.indexOf("Linux") > -1) {
|
||||||
|
return 'images/platforms/linux.png';
|
||||||
} else {
|
} else {
|
||||||
return 'images/platforms/default.png';
|
return 'images/platforms/default.png';
|
||||||
}
|
}
|
||||||
@@ -467,4 +469,4 @@ function humanFileSize(bytes, si) {
|
|||||||
++u;
|
++u;
|
||||||
} while (Math.abs(bytes) >= thresh && u < units.length - 1);
|
} while (Math.abs(bytes) >= thresh && u < units.length - 1);
|
||||||
return bytes.toFixed(1) + ' ' + units[u];
|
return bytes.toFixed(1) + ' ' + units[u];
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user