mirror of https://github.com/zulip/zulip.git
Don't assume 2nd-operator subject means first-operator is a stream
(imported from commit e60ec8387dd843fe504fd5d82808ffd42470518a)
This commit is contained in:
parent
164c4d2c1b
commit
bfd2952876
|
@ -75,7 +75,7 @@ function make_tab_data() {
|
|||
operand = ops[1][1];
|
||||
hashed = hashchange.operators_to_hash(ops.slice(0, 2));
|
||||
|
||||
if (operator === 'subject') {
|
||||
if (operator === 'subject' && ops[0][0] === 'stream') {
|
||||
// Colorize text of stream name properly
|
||||
var stream = ops[0][1];
|
||||
tabs[tabs.length - 1].cls += ' ' + subs.get_color_class(subs.get_color(stream));
|
||||
|
|
Loading…
Reference in New Issue