From bbf8933646cdd4a3b452acd18b5df12618ea565d Mon Sep 17 00:00:00 2001 From: ansuz Date: Thu, 2 Mar 2017 17:45:48 +0100 Subject: [PATCH] fix undefined reference in code --- www/code/main.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/www/code/main.js b/www/code/main.js index e8999ffee..9a8e57ccc 100644 --- a/www/code/main.js +++ b/www/code/main.js @@ -689,7 +689,7 @@ define([ // inform of network disconnect setEditable(false); toolbar.failed(); - Cryptpad.alert(Messages.common_connectionLost, undefined, force); + Cryptpad.alert(Messages.common_connectionLost, undefined, true); }; var onConnectionChange = config.onConnectionChange = function (info) { @@ -700,7 +700,7 @@ define([ toolbar.reconnecting(info.myId); Cryptpad.findOKButton().click(); } else { - Cryptpad.alert(Messages.common_connectionLost, undefined, force); + Cryptpad.alert(Messages.common_connectionLost, undefined, true); } };