From 164342920e1cea9710f72a5a45bd5bc5ee2bb05a Mon Sep 17 00:00:00 2001 From: ansuz Date: Thu, 18 May 2017 15:39:24 +0200 Subject: [PATCH] fix inverted condition --- www/common/cryptpad-common.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/common/cryptpad-common.js b/www/common/cryptpad-common.js index 14f0a8b66..ac2a6f875 100644 --- a/www/common/cryptpad-common.js +++ b/www/common/cryptpad-common.js @@ -1336,7 +1336,7 @@ define([ feedback("NO_PROXIES"); } - if (!/CRYPTPAD_SHIM/.test(Array.isArray.toString())) { + if (/CRYPTPAD_SHIM/.test(Array.isArray.toString())) { feedback("NO_ISARRAY"); }