From 9e0673f077aa9acdcc103214a9214af29e66f546 Mon Sep 17 00:00:00 2001 From: robbielj Date: Fri, 14 Mar 2014 13:55:18 +0100 Subject: [PATCH] Update bytes.js --- js/filters/bytes.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/filters/bytes.js b/js/filters/bytes.js index 2ce8cac..7c33501 100644 --- a/js/filters/bytes.js +++ b/js/filters/bytes.js @@ -12,7 +12,7 @@ angular.module('webui.filters.bytes', ["webui.services.utils"]) return function(time) { time = parseInt(time, 10); - if (!time || !isFinite(time)) return "∞"; + if (!time || !isFinite(time)) return "∞"; var secs = time % 60; if (time < 60) return secs + "s"; var mins = Math.floor((time % 3600) / 60)