diff --git a/src/js/client.js b/src/js/client.js index ede2cf489..ab5b20711 100644 --- a/src/js/client.js +++ b/src/js/client.js @@ -238,6 +238,7 @@ function imageErrorHandler(elem) { // binary units (IEC) 1024 based function prettyBinarySize(size, fallback) { if (!size) return fallback || 0; + if (size === -1) return 'Unlimited'; // we can also use KB here (JEDEC) var i = Math.floor(Math.log(size) / Math.log(1024));