mirror of
https://github.com/discourse/discourse.git
synced 2025-01-19 05:52:49 +08:00
FIX: Missing tab delegation
This commit is contained in:
parent
9f127d8183
commit
e1d26736b2
|
@ -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 = $('<a class="tabLoc"></a>');
|
||||
tabLoc = $('<a href class="tabLoc"></a>');
|
||||
$article.prepend(tabLoc);
|
||||
}
|
||||
tabLoc.focus();
|
||||
|
|
Loading…
Reference in New Issue
Block a user