Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

minor: Fix mention of success handler in error wrapper.

YashRE42e268debdc6ff
diff --git a/static/js/channel.js b/static/js/channel.js
index 5412fe7759e..d7e70c62c19 100644
--- a/static/js/channel.js
+++ b/static/js/channel.js
@@ -45,7 +45,7 @@ function call(args, idempotent) {
if (reload_state.is_in_progress()) {
// If we're in the process of reloading the browser,
- // there's no point in running the success handler,
+ // there's no point in running the error handler,
// because all of our state is about to be discarded
// anyway.
blueslip.log(`Ignoring ${args.type} ${args.url} error response while reloading`);