FIX: Home key was broken due to some HTML changes
This commit is contained in:
parent
1714bfe441
commit
3f6bf2fda0
|
@ -67,7 +67,7 @@ Discourse.KeyboardShortcuts = Ember.Object.createWithMixins({
|
|||
},
|
||||
|
||||
_jumpTo: function(direction) {
|
||||
if ($('#topic-title').length) {
|
||||
if ($('.container.posts').length) {
|
||||
Discourse.__container__.lookup('controller:topic').send(direction);
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue