From 868161a8a86ad93012b28566548063c63a0be439 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); } };