settings: Fix ugly exclamation on default streams errors.

This commit is contained in:
Tim Abbott
2017-06-04 10:42:41 -07:00
parent d2079cbb2e
commit bd81f66e01

View File

@@ -115,9 +115,9 @@ function make_stream_default(stream_name) {
data: data,
error: function (xhr) {
if (xhr.status.toString().charAt(0) === "4") {
ui_report.error(i18n.t("Failed!"), xhr, default_stream_status);
ui_report.error(i18n.t("Failed"), xhr, default_stream_status);
} else {
ui_report.error(i18n.t("Failed!"), default_stream_status);
ui_report.error(i18n.t("Failed"), default_stream_status);
}
default_stream_status.show();
},