From 750b8326d7feba5f73d3542e7e76be5a00cd8011 Mon Sep 17 00:00:00 2001 From: Jessica McKellar Date: Sun, 14 Apr 2013 16:58:33 -0400 Subject: [PATCH] subs: fix incorrect stream_info re-initialization. Using [] doesn't cause incorrect behavior, but it's a mismatch with how stream_info is initially declared and gives you a confusing representation at the console. (imported from commit c03d9e6a29ff990659f41ee478f631a019a5ac25) --- zephyr/static/js/subs.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zephyr/static/js/subs.js b/zephyr/static/js/subs.js index c3773fcf30..324f81ef6e 100644 --- a/zephyr/static/js/subs.js +++ b/zephyr/static/js/subs.js @@ -474,7 +474,7 @@ exports.reload_subscriptions = function (opts) { } if (opts.clear_first) { - stream_info = []; + stream_info = {}; ui.remove_all_narrow_filters(); }