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.

navbar: Use location.href instead of location.replace.

YashRE42178e0b7d4784
diff --git a/static/js/message_view_header.js b/static/js/message_view_header.js
index 1cfa59dcee1..350b4f4cc7d 100644
--- a/static/js/message_view_header.js
+++ b/static/js/message_view_header.js
@@ -148,7 +148,7 @@ exports.exit_search = function () {
exports.close_search_bar_and_open_narrow_description();
} else {
// for "searching narrows", we redirect
- window.location.replace(filter.generate_redirect_url());
+ window.location.href = filter.generate_redirect_url();
}
};