FIX: Keyboard controls were broken at the bottom of topics

This commit is contained in:
Robin Ward 2016-05-06 11:11:14 -04:00
parent 4628b1707f
commit 2d2bf4dd56
No known key found for this signature in database
GPG Key ID: 0E091E2B4ED1B83D
2 changed files with 1 additions and 8 deletions

View File

@ -10,10 +10,7 @@ export default Ember.Component.extend(StringBuffer, {
actions: {
toggleBookmark() {
const self = this;
this.get('topic').toggleBookmark().finally(function() {
self.rerender();
});
this.get('topic').toggleBookmark().finally(() => this.rerender());
}
},

View File

@ -294,10 +294,6 @@ export default {
$articles.removeClass('selected');
$article.addClass('selected');
if ($article.is('.topic-list-item')) {
this.sendToTopicListItemView('select');
}
if ($article.is('.topic-post')) {
$('a.tabLoc', $article).focus();
}