summaryrefslogtreecommitdiffstats
path: root/module/web/media/default/js/sprintf.js
diff options
context:
space:
mode:
Diffstat (limited to 'module/web/media/default/js/sprintf.js')
-rw-r--r--module/web/media/default/js/sprintf.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/web/media/default/js/sprintf.js b/module/web/media/default/js/sprintf.js
index 30d9046de..385285340 100644
--- a/module/web/media/default/js/sprintf.js
+++ b/module/web/media/default/js/sprintf.js
@@ -35,7 +35,7 @@ sprintfWrapper = {
min: match[6] || 0,
precision: match[8],
code: match[9] || '%',
- negative: parseInt(arguments[convCount]) < 0 ? true : false,
+ negative: parseInt(arguments[convCount]) < 0,
argument: String(arguments[convCount])
};
}