From 54ae352e83ccfd756d778cc92dfd50a6c00bd418 Mon Sep 17 00:00:00 2001 From: Tim Abbott Date: Fri, 3 May 2013 10:05:03 -0400 Subject: [PATCH] Fix narrowing to a stream/subject pair when not subscribed. (imported from commit 0ea2893dc6026df5316dd927f7d740c74dc2c02e) --- 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 f3e1658d70..2cbf5d2de7 100644 --- a/zephyr/static/js/narrow.js +++ b/zephyr/static/js/narrow.js @@ -473,9 +473,9 @@ exports.activate = function (operators, opts) { operators[1][0] === 'subject') { if (subs.have(operators[0][1])) { expand_stream(operators[0][1]).addClass('active-filter'); + ui.get_subject_filter_li(operators[0][1], operators[1][1]) + .addClass('active-subject-filter'); } - ui.get_subject_filter_li(operators[0][1], operators[1][1]) - .addClass('active-subject-filter'); } } };