FIX: The keyboard shortcut to bookmark the first post wasn't refreshing

This commit is contained in:
Robin Ward 2017-05-09 15:37:36 -04:00
parent 6e4ba8a33e
commit ae15b10cf8
1 changed files with 1 additions and 1 deletions

View File

@ -92,7 +92,7 @@ export default {
const topic = this.currentTopic();
// BIG hack, need a cleaner way
if (topic && $('.posts-wrapper').length > 0) {
topic.toggleBookmark();
this.container.lookup('controller:topic').send('toggleBookmark');
} else {
this.sendToTopicListItemView('toggleBookmark');
}