diff --git a/app/views/commontator/comments/create.js.erb b/app/views/commontator/comments/create.js.erb index d8d1b4306..4754a6fef 100644 --- a/app/views/commontator/comments/create.js.erb +++ b/app/views/commontator/comments/create.js.erb @@ -30,7 +30,7 @@ <% end %> <% if @update_icon %> -$('#commentsIcon').removeClass('text-light').addClass('text-primary'); +$('#commentsIcon').addClass('new-comment'); <% end %> var commontatorComment = $("#commontator-comment-<%= @comment.id %>").hide().fadeIn(); diff --git a/app/views/readers/update.coffee b/app/views/readers/update.coffee index 2e6a6b62c..30558ac78 100644 --- a/app/views/readers/update.coffee +++ b/app/views/readers/update.coffee @@ -5,7 +5,7 @@ newSize = parseInt($size.data('size')) - 1 $size.empty().append('(' + newSize + ')').data('size', newSize) $('.mediaCommentsDecoration').remove() if newSize == 0 <% unless @anything_left %> -$('#commentsIcon').removeClass('text-primary').addClass('text-light') +$('#commentsIcon').removeClass('new-comment') $('#noCommentsAlert').show() <% end %> <% end %> \ No newline at end of file diff --git a/app/views/readers/update_all.coffee b/app/views/readers/update_all.coffee index e15f5e46d..3a920ca6b 100644 --- a/app/views/readers/update_all.coffee +++ b/app/views/readers/update_all.coffee @@ -1,5 +1,5 @@ $('.readerItem').remove() $('.mediaCommentsDecoration').remove() $('#mediaCommentsSize').empty().append('(0)').data('size', 0) -$('#commentsIcon').removeClass('text-primary').addClass('text-light') +$('#commentsIcon').removeClass('new-comment') $('#noCommentsAlert').show() \ No newline at end of file