css: Rename #home id to #message_feed_container.

This commit is contained in:
Aman Agrawal
2020-07-04 19:55:41 +05:30
committed by Tim Abbott
parent 0859a91b14
commit b34d46e00b
12 changed files with 20 additions and 20 deletions

View File

@@ -269,7 +269,7 @@ exports.initialize = function () {
$("body").on("click", ".notification", function () {
const payload = $(this).data("narrow");
ui_util.change_tab_to("#home");
ui_util.change_tab_to("#message_feed_container");
narrow.activate(payload.raw_operators, payload.opts_notif);
});
@@ -452,7 +452,7 @@ exports.initialize = function () {
return nearest.id;
}
$("#home").on("click", ".narrows_by_recipient", function (e) {
$("#message_feed_container").on("click", ".narrows_by_recipient", function (e) {
if (e.metaKey || e.ctrlKey) {
return;
}
@@ -461,7 +461,7 @@ exports.initialize = function () {
narrow.by_recipient(row_id, {trigger: "message header"});
});
$("#home").on("click", ".narrows_by_topic", function (e) {
$("#message_feed_container").on("click", ".narrows_by_topic", function (e) {
if (e.metaKey || e.ctrlKey) {
return;
}