From 50753db4ff675f2fd9762856aeab2d06408535af Mon Sep 17 00:00:00 2001 From: mttlmy Date: Mon, 7 Aug 2017 19:27:46 -0400 Subject: [PATCH] Added platform 'Linux' to link to image linux.png --- data/interfaces/default/js/script.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/data/interfaces/default/js/script.js b/data/interfaces/default/js/script.js index 71e599fb..9f963710 100644 --- a/data/interfaces/default/js/script.js +++ b/data/interfaces/default/js/script.js @@ -258,6 +258,8 @@ function getPlatformImagePath(platformName) { return 'images/platforms/pmp.png'; } else if (platformName.indexOf("PlexTogether") > -1) { return 'images/platforms/plextogether.png'; + } else if (platformName.indexOf("Linux") > -1) { + return 'images/platforms/linux.png'; } else { return 'images/platforms/default.png'; } @@ -467,4 +469,4 @@ function humanFileSize(bytes, si) { ++u; } while (Math.abs(bytes) >= thresh && u < units.length - 1); return bytes.toFixed(1) + ' ' + units[u]; -} \ No newline at end of file +}