From d42d988d3667a6f2b4d6f44f764fdc184544c99f Mon Sep 17 00:00:00 2001 From: ansuz Date: Tue, 5 Sep 2017 11:26:41 +0200 Subject: [PATCH] make test more resilient --- www/assert/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/assert/main.js b/www/assert/main.js index 4a2ccc3d8..6f924f1b0 100644 --- a/www/assert/main.js +++ b/www/assert/main.js @@ -228,7 +228,7 @@ define([ th.src = URL.createObjectURL(thumb); th.onload = function () { $(document.body).append($(th).addClass('thumb')); - cb(th.width === 100 && th.height === 100); + cb(th.width === Thumb.dimension && th.height === Thumb.dimension); }; }); });