diff --git a/client/js/loading-error-handlers.js b/client/js/loading-error-handlers.js index 6c291316..324fce68 100644 --- a/client/js/loading-error-handlers.js +++ b/client/js/loading-error-handlers.js @@ -38,7 +38,7 @@ window.g_LoungeErrorHandler = function LoungeErrorHandler(e) { var message = document.getElementById("loading-page-message"); - message.textContent = "An error has occured that prevented the client from loading correctly."; + message.textContent = "An error has occurred that prevented the client from loading correctly."; var summary = document.createElement("summary"); summary.textContent = "More details"; diff --git a/client/js/webpush.js b/client/js/webpush.js index 6cac73f8..e87c2fba 100644 --- a/client/js/webpush.js +++ b/client/js/webpush.js @@ -111,7 +111,7 @@ function onPushButton() { }) ).catch((err) => { $("#pushNotificationsUnsupported") - .find("span").text(`An error has occured: ${err}`).end() + .find("span").text(`An error has occurred: ${err}`).end() .show(); });