Unified · Split
| @@ -102,7 +102,8 @@ class app.views.ListFocus extends app.View · 101 unmodified lines | |||
| 102 | onLeft: => | 102 | onLeft: => |
| 103 | cursor = @getCursor() | 103 | cursor = @getCursor() |
| 104 | if cursor and not cursor.classList.contains(app.views.ListFold.activeClass) and cursor.parentNode isnt @el | 104 | if cursor and not cursor.classList.contains(app.views.ListFold.activeClass) and cursor.parentNode isnt @el |
| 105 | @focusOnNextFrame cursor.parentNode.previousSibling | 105 | prev = cursor.parentNode.previousSibling |
| 106 | @focusOnNextFrame cursor.parentNode.previousSibling if prev and prev.classList.contains(app.views.ListFold.targetClass) | ||
| 106 | return | 107 | return |
| 107 | 108 | ||
| 108 | onEnter: => | 109 | onEnter: => |