subs: rename .subscription_description to .description.

This commit is contained in:
Tim Abbott 2016-10-28 14:45:50 -07:00
parent dd2fab9374
commit 3727ea6fb0
3 changed files with 3 additions and 3 deletions

View File

@ -170,7 +170,7 @@ function update_stream_description(sub, description) {
sub.description = description; sub.description = description;
var sub_settings_selector = '.stream-row[data-stream-id=' + sub.stream_id + ']'; var sub_settings_selector = '.stream-row[data-stream-id=' + sub.stream_id + ']';
$(sub_settings_selector + ' .subscription_description').text(description); $(sub_settings_selector + ' .description').text(description);
$(sub_settings_selector + ' input.description').val(description); $(sub_settings_selector + ' input.description').val(description);
} }

View File

@ -197,7 +197,7 @@
html { html {
overflow-x: hidden; overflow-x: hidden;
} }
.subscription_description { .stream_row .description {
display: none; display: none;
} }
} }

View File

@ -9,7 +9,7 @@
<div class="subscription-info"> <div class="subscription-info">
<span class="stream-name subscription-name-row">{{name}}</span> <span class="stream-name subscription-name-row">{{name}}</span>
<span class="subscriber_icon">(<span class="subscriber_count subscriber-count-row">{{subscriber_count}}</span> <i class="icon-vector-user"></i>)</span> <span class="subscriber_icon">(<span class="subscriber_count subscriber-count-row">{{subscriber_count}}</span> <i class="icon-vector-user"></i>)</span>
<span class="subscription_description subscription-description-row light">{{description}}</span> <span class="description subscription-description-row light">{{description}}</span>
</div> </div>
</div> </div>