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,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);
}
}
};