diff --git a/www/common/cryptpad-common.js b/www/common/cryptpad-common.js index 5600af0c8..d11c4eb1b 100644 --- a/www/common/cryptpad-common.js +++ b/www/common/cryptpad-common.js @@ -1058,7 +1058,7 @@ define([ timeout = true; common.onNetworkDisconnect.fire(); // FIXME: no UI in outer... - alert("Timeout error, please reload this tab"); + window.alert("Timeout error, please reload this tab"); }; var queries = {