diff --git a/AppKit/CPTableView.j b/AppKit/CPTableView.j index 0677dca7d..2853079a4 100644 --- a/AppKit/CPTableView.j +++ b/AppKit/CPTableView.j @@ -4609,7 +4609,7 @@ Your delegate can implement this method to avoid subclassing the tableview to ad } _wasSelectionBroken = true; } - else if (_wasSelectionBroken && ((shouldGoUpward && i !== [selectedIndexes firstIndex]) || (!shouldGoUpward && i !== [selectedIndexes lastindex]))) + else if (_wasSelectionBroken && ((shouldGoUpward && i !== [selectedIndexes firstIndex]) || (!shouldGoUpward && i !== [selectedIndexes lastIndex]))) { shouldGoUpward ? i = [selectedIndexes firstIndex] - 1 : i = [selectedIndexes lastIndex]; _wasSelectionBroken = false;