Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
settings: Remove broken default streams error handler.
Tim Abbotta6f4230895c3
diff --git a/static/js/settings_streams.js b/static/js/settings_streams.jsindex 10f33e7a9f3..71e17ead22d 100644--- a/static/js/settings_streams.js+++ b/static/js/settings_streams.js@@ -80,11 +80,7 @@ function make_stream_default(stream_id) {url: "/json/default_streams",data,error(xhr) {- if (xhr.status.toString().charAt(0) === "4") {- ui_report.error($t_html({defaultMessage: "Failed"}), xhr, default_stream_status);- } else {- ui_report.error($t_html({defaultMessage: "Failed"}), default_stream_status);- }+ ui_report.error($t_html({defaultMessage: "Failed"}), xhr, default_stream_status);default_stream_status.show();},});