FIX: Home key was broken due to some HTML changes

This commit is contained in:
Robin Ward 2014-05-21 07:30:47 -04:00
parent 1714bfe441
commit 3f6bf2fda0
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}
},