From 3727ea6fb082f1ab16bd647ad0afae8b294f31b6 Mon Sep 17 00:00:00 2001 From: Tim Abbott Date: Fri, 28 Oct 2016 14:45:50 -0700 Subject: [PATCH] subs: rename .subscription_description to .description. --- static/js/subs.js | 2 +- static/styles/media.css | 2 +- static/templates/subscription.handlebars | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/static/js/subs.js b/static/js/subs.js index a723a3b6ef..89fe5b3a75 100644 --- a/static/js/subs.js +++ b/static/js/subs.js @@ -170,7 +170,7 @@ function update_stream_description(sub, description) { sub.description = description; 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); } diff --git a/static/styles/media.css b/static/styles/media.css index 29b12e85c0..7fd0837572 100644 --- a/static/styles/media.css +++ b/static/styles/media.css @@ -197,7 +197,7 @@ html { overflow-x: hidden; } - .subscription_description { + .stream_row .description { display: none; } } diff --git a/static/templates/subscription.handlebars b/static/templates/subscription.handlebars index ee3256fb5a..d10370320f 100644 --- a/static/templates/subscription.handlebars +++ b/static/templates/subscription.handlebars @@ -9,7 +9,7 @@
{{name}} ({{subscriber_count}} ) - {{description}} + {{description}}