FIX: Keyboard controls were broken at the bottom of topics
This commit is contained in:
parent
4628b1707f
commit
2d2bf4dd56
|
@ -10,10 +10,7 @@ export default Ember.Component.extend(StringBuffer, {
|
||||||
|
|
||||||
actions: {
|
actions: {
|
||||||
toggleBookmark() {
|
toggleBookmark() {
|
||||||
const self = this;
|
this.get('topic').toggleBookmark().finally(() => this.rerender());
|
||||||
this.get('topic').toggleBookmark().finally(function() {
|
|
||||||
self.rerender();
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
|
@ -294,10 +294,6 @@ export default {
|
||||||
$articles.removeClass('selected');
|
$articles.removeClass('selected');
|
||||||
$article.addClass('selected');
|
$article.addClass('selected');
|
||||||
|
|
||||||
if ($article.is('.topic-list-item')) {
|
|
||||||
this.sendToTopicListItemView('select');
|
|
||||||
}
|
|
||||||
|
|
||||||
if ($article.is('.topic-post')) {
|
if ($article.is('.topic-post')) {
|
||||||
$('a.tabLoc', $article).focus();
|
$('a.tabLoc', $article).focus();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue