Added platform 'Linux' to link to image linux.png

This commit is contained in:
mttlmy 2017-08-07 19:27:46 -04:00 committed by GitHub
parent af77e51307
commit 50753db4ff

View file

@ -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) + '&nbsp;' + units[u]; return bytes.toFixed(1) + '&nbsp;' + units[u];
} }