From 1c238100c840811a07334fb86dc1ab2f21f9834e Mon Sep 17 00:00:00 2001 From: ansuz Date: Mon, 31 Jul 2017 15:07:34 +0200 Subject: [PATCH] don't throw alerts in the middle of someone's presentation --- www/slide/main.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/www/slide/main.js b/www/slide/main.js index 84e83124e..da133ce46 100644 --- a/www/slide/main.js +++ b/www/slide/main.js @@ -635,7 +635,9 @@ define([ toolbar.reconnecting(info.myId); Cryptpad.findOKButton().click(); } else { - Cryptpad.alert(Messages.common_connectionLost, undefined, true); + if (!Slide.isPresentURL()) { + Cryptpad.alert(Messages.common_connectionLost, undefined, true); + } } };