mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: Keyboard controls were broken at the bottom of topics
This commit is contained in:
@@ -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();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user