don't throw alerts in the middle of someone's presentation

This commit is contained in:
ansuz 2017-07-31 15:07:34 +02:00
parent 7cd42d5ff1
commit 1c238100c8
1 changed files with 3 additions and 1 deletions

View File

@ -635,8 +635,10 @@ define([
toolbar.reconnecting(info.myId);
Cryptpad.findOKButton().click();
} else {
if (!Slide.isPresentURL()) {
Cryptpad.alert(Messages.common_connectionLost, undefined, true);
}
}
};
config.onError = onConnectError;