From b2eef94232a53f9f74114ccdbc12615bfb09345e Mon Sep 17 00:00:00 2001 From: Pierre Bondoerffer Date: Mon, 12 Jun 2017 18:35:13 +0200 Subject: [PATCH] use numbers, not strings --- www/poll/render.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/poll/render.js b/www/poll/render.js index 08b91962a..f84fdc964 100644 --- a/www/poll/render.js +++ b/www/poll/render.js @@ -72,7 +72,7 @@ var Renderer = function (Cryptpad) { var getCellValue = Render.getCellValue = function (obj, cellId) { var value = Cryptpad.find(obj, ['table', 'cells'].concat([cellId])); if (typeof value === 'boolean') { - return (value === true ? '1' : '0'); + return (value === true ? 1 : 0); } else { return value; }