Merge pull request #1084 from mttlmy/dev

Added platform 'Linux' to link to image linux.png
This commit is contained in:
JonnyWong16 2017-08-07 16:32:12 -07:00 committed by GitHub
commit b3da08ce74

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];
} }