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

pull/1/head
ansuz 8 years ago
parent 7cd42d5ff1
commit 1c238100c8

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

Loading…
Cancel
Save