From 9dbcea2a167314b8044d50d37d1d49b48cbf38ff Mon Sep 17 00:00:00 2001 From: Waseem Daher Date: Fri, 19 Oct 2012 10:31:50 -0400 Subject: [PATCH] Unbreak narrowing. (imported from commit ad2123f99ce91361ab907c308bfecec4efd722a4) --- zephyr/static/js/narrow.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zephyr/static/js/narrow.js b/zephyr/static/js/narrow.js index f25168c35b..c04f5289bf 100644 --- a/zephyr/static/js/narrow.js +++ b/zephyr/static/js/narrow.js @@ -55,7 +55,7 @@ exports.target = function (id) { target_id = id; }; -function by_huddle() { +exports.by_huddle = function by_huddle() { var original = message_dict[target_id]; do_narrow("Huddles with " + original.display_reply_to, function (other) { return (other.type === "personal" || other.type === "huddle") @@ -81,7 +81,7 @@ function by_personals() { } -function by_stream() { +exports.by_stream = function() { var original = message_dict[target_id]; var message = original.display_recipient; do_narrow(message, function (other) {