diff --git a/app/assets/javascripts/discourse/lib/keyboard_shortcuts.js b/app/assets/javascripts/discourse/lib/keyboard_shortcuts.js index 5cade9081cf..65b1b7ccaab 100644 --- a/app/assets/javascripts/discourse/lib/keyboard_shortcuts.js +++ b/app/assets/javascripts/discourse/lib/keyboard_shortcuts.js @@ -240,7 +240,7 @@ Discourse.KeyboardShortcuts = Ember.Object.createWithMixins({ if ($article.is('.topic-post')) { var tabLoc = $article.find('a.tabLoc'); if (tabLoc.length === 0) { - tabLoc = $(''); + tabLoc = $(''); $article.prepend(tabLoc); } tabLoc.focus();