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:
Tim Abbott 2015-12-13 17:15:03 -08:00
parent 87acb2be09
commit 29fa601328
2 changed files with 4 additions and 4 deletions

View File

@ -120,7 +120,7 @@ function reset_to_unnarrowed(narrowed_within_same_stream) {
zoom_out(); zoom_out();
} }
$("ul.filters li").removeClass('active-filter active-subject-filter'); $("ul.filters li").removeClass('active-filter active-sub-filter');
remove_expanded_subjects(); remove_expanded_subjects();
} }
@ -312,7 +312,7 @@ function rebuild_recent_subjects(stream, active_topic) {
stream_li.append(topic_dom); stream_li.append(topic_dom);
if (active_topic) { 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');
} }
} }

View File

@ -374,7 +374,7 @@ a:hover code {
background-color: #e2e8dd; background-color: #e2e8dd;
} }
#stream_filters li.active-subject-filter:hover { #stream_filters li.active-sub-filter:hover {
background-color: #ccd6cc; background-color: #ccd6cc;
} }
@ -483,7 +483,7 @@ ul.filters hr {
} }
li.active-filter, li.active-filter,
li.active-subject-filter { li.active-sub-filter {
font-weight: 600; font-weight: 600;
background: #ddedf6; background: #ddedf6;
position: relative; position: relative;