Browse Source

Fix OpenJDK entry breaking keyboard navigation in the sidebar

Thibaut Courouble 8 years ago
parent
commit
8d0606d070
1 changed files with 1 additions and 1 deletions
  1. 1 1
      assets/javascripts/views/list/list_focus.coffee

+ 1 - 1
assets/javascripts/views/list/list_focus.coffee

@@ -40,7 +40,7 @@ class app.views.ListFocus extends app.View
         $.click(next)
         @findNext cursor
       else if next.tagName is 'DIV' # sub-list
-        if cursor.className.indexOf('open') >= 0
+        if cursor.className.indexOf(' open') >= 0
           @findFirst(next) or @findNext(next)
         else
           @findNext(next)