Unified · Split
| @@ -102,7 +102,8 @@ class app.views.ListFocus extends app.View · 101 unmodified lines | ||
| 102 | 102 | onLeft: => |
| 103 | 103 | cursor = @getCursor() |
| 104 | 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 | 107 | return |
| 107 | 108 | |
| 108 | 109 | onEnter: => |