FIX: The keyboard shortcut to bookmark the first post wasn't refreshing
This commit is contained in:
parent
6e4ba8a33e
commit
ae15b10cf8
|
@ -92,7 +92,7 @@ export default {
|
||||||
const topic = this.currentTopic();
|
const topic = this.currentTopic();
|
||||||
// BIG hack, need a cleaner way
|
// BIG hack, need a cleaner way
|
||||||
if (topic && $('.posts-wrapper').length > 0) {
|
if (topic && $('.posts-wrapper').length > 0) {
|
||||||
topic.toggleBookmark();
|
this.container.lookup('controller:topic').send('toggleBookmark');
|
||||||
} else {
|
} else {
|
||||||
this.sendToTopicListItemView('toggleBookmark');
|
this.sendToTopicListItemView('toggleBookmark');
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue