diff --git a/builds/4chan-X.js b/builds/4chan-X.js index 94886efd7..78d25ba14 100644 --- a/builds/4chan-X.js +++ b/builds/4chan-X.js @@ -1831,6 +1831,8 @@ if (right) { $.addClass(menu, 'left'); } + entry = $('.entry', menu); + this.focus(entry); return menu.focus(); }; diff --git a/builds/4chan-X.user.js b/builds/4chan-X.user.js index 6bf01be69..8cc52cf50 100644 --- a/builds/4chan-X.user.js +++ b/builds/4chan-X.user.js @@ -1822,6 +1822,8 @@ if (right) { $.addClass(menu, 'left'); } + entry = $('.entry', menu); + this.focus(entry); return menu.focus(); }; diff --git a/builds/crx.crx b/builds/crx.crx index f57c8c104..5d3eb0a8a 100644 Binary files a/builds/crx.crx and b/builds/crx.crx differ diff --git a/builds/crx/script.js b/builds/crx/script.js index 3a7d6e71f..e808f78c1 100644 --- a/builds/crx/script.js +++ b/builds/crx/script.js @@ -1745,6 +1745,8 @@ if (right) { $.addClass(menu, 'left'); } + entry = $('.entry', menu); + this.focus(entry); return menu.focus(); }; diff --git a/src/lib/ui.coffee b/src/lib/ui.coffee index e544f3336..c072a3be6 100644 --- a/src/lib/ui.coffee +++ b/src/lib/ui.coffee @@ -85,11 +85,11 @@ UI = do -> if right $.addClass menu, 'left' - # entry = $ '.entry', menu + entry = $ '.entry', menu # We've removed flexbox, so we don't user order anymore. # while prevEntry = @findNextEntry entry, -1 # entry = prevEntry - # @focus entry + @focus entry menu.focus()