subs: Rename subscriber_count class to subscriber-count.

Also remove the unused subscriber-count-row class.
This commit is contained in:
Tim Abbott
2016-10-28 15:45:47 -07:00
parent c0a774ef8c
commit c10fd243f1
2 changed files with 2 additions and 2 deletions

View File

@@ -226,7 +226,7 @@ function settings_for_sub(sub) {
exports.rerender_subscribers_count = function (sub) {
var id = parseInt(sub.stream_id, 10);
stream_data.update_subscribers_count(sub);
$(".stream-row[data-stream-id='" + id + "'] .subscriber_count").text(sub.subscriber_count);
$(".stream-row[data-stream-id='" + id + "'] .subscriber-count").text(sub.subscriber_count);
};
exports.show_settings_for = function (stream_name) {

View File

@@ -8,7 +8,7 @@
</span>
<div class="subscription-info">
<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}}</span> <i class="icon-vector-user"></i>)</span>
<span class="description subscription-description-row light">{{description}}</span>
</div>
</div>