mirror of
https://github.com/discourse/discourse.git
synced 2025-03-04 02:44:08 +08:00
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…
x
Reference in New Issue
Block a user