Strip confusing bookmark styling

This commit is contained in:
Sam 2014-06-03 12:36:39 +10:00
parent 78378c7ade
commit 4c55dc0903
1 changed files with 0 additions and 5 deletions

View File

@ -198,18 +198,13 @@ Discourse.PostMenuView = Discourse.View.extend({
var iconClass = 'read-icon',
buttonClass = 'bookmark',
topic = post.get('topic'),
tooltip;
if (post.get('bookmarked')) {
iconClass += ' bookmarked';
buttonClass += ' bookmarked';
tooltip = I18n.t('bookmarks.created');
} else if (topic && topic.get('last_read_post_number') === post.get('post_number')) {
iconClass += ' last-read';
tooltip = I18n.t('bookmarks.last_read');
} else {
iconClass += (post.get('read') ? ' seen' : ' unseen');
tooltip = I18n.t('bookmarks.not_bookmarked');
}