浏览代码

Fix OpenJDK entry breaking keyboard navigation in the sidebar

Thibaut Courouble 8 年之前
父节点
当前提交
8d0606d070
共有 1 个文件被更改,包括 1 次插入1 次删除
  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)