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.

blueslip: Simplify expectOne error message.

Karl Stolley2508081a643f
diff --git a/web/src/setup.js b/web/src/setup.js
index 726deef7b75..092df2f2801 100644
--- a/web/src/setup.js
+++ b/web/src/setup.js
@@ -41,7 +41,7 @@ $(() => {
$.fn.expectOne = function () {
if (blueslip && this.length !== 1) {
- blueslip.error("Expected one element in jQuery set, found more", {length: this.length});
+ blueslip.error("Expected one element in jQuery set", {length: this.length});
}
return this;
};