mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-03 21:43:21 +00:00 
			
		
		
		
	Rename active-subject-filter to active-sub-filter.
This makes the name more generic so we can reuse it for private message filters as well.
This commit is contained in:
		@@ -120,7 +120,7 @@ function reset_to_unnarrowed(narrowed_within_same_stream) {
 | 
			
		||||
        zoom_out();
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    $("ul.filters li").removeClass('active-filter active-subject-filter');
 | 
			
		||||
    $("ul.filters li").removeClass('active-filter active-sub-filter');
 | 
			
		||||
    remove_expanded_subjects();
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
@@ -312,7 +312,7 @@ function rebuild_recent_subjects(stream, active_topic) {
 | 
			
		||||
    stream_li.append(topic_dom);
 | 
			
		||||
 | 
			
		||||
    if (active_topic) {
 | 
			
		||||
        get_subject_filter_li(stream, active_topic).addClass('active-subject-filter');
 | 
			
		||||
        get_subject_filter_li(stream, active_topic).addClass('active-sub-filter');
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -374,7 +374,7 @@ a:hover code {
 | 
			
		||||
    background-color: #e2e8dd;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
#stream_filters li.active-subject-filter:hover {
 | 
			
		||||
#stream_filters li.active-sub-filter:hover {
 | 
			
		||||
    background-color: #ccd6cc;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
@@ -483,7 +483,7 @@ ul.filters hr {
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
li.active-filter,
 | 
			
		||||
li.active-subject-filter {
 | 
			
		||||
li.active-sub-filter {
 | 
			
		||||
    font-weight: 600;
 | 
			
		||||
    background: #ddedf6;
 | 
			
		||||
    position: relative;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user