From 34cef100aded6b1eff53dd52099d747887bab2e5 Mon Sep 17 00:00:00 2001 From: rolux Date: Wed, 14 Nov 2012 15:16:49 +0100 Subject: [PATCH] remove some brackets --- source/Ox/js/Format.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/Ox/js/Format.js b/source/Ox/js/Format.js index a42ea130..55f2673e 100644 --- a/source/Ox/js/Format.js +++ b/source/Ox/js/Format.js @@ -27,7 +27,7 @@ Ox.formatCount Returns a string like "2 items", "1 item" or "no items". @*/ Ox.formatCount = function(number, singular, plural) { return (number === 0 ? 'no' : Ox.formatNumber(number)) + ' ' - + ((number === 1) ? singular : plural || singular + 's'); + + (number === 1 ? singular : plural || singular + 's'); }; /*@