Skip to content

Commit

Permalink
chore(igx-grid): Fix lint errors, #2951
Browse files Browse the repository at this point in the history
  • Loading branch information
sstoyanovIG committed Nov 9, 2018
1 parent a01a34f commit b1be01f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ export class IgxGridFilteringCellComponent implements AfterViewInit, OnInit {
@HostListener('keydown.tab', ['$event'])
public onTabKeyDown(eventArgs) {
const pinnedColumns = this.filteringService.grid.pinnedColumns;
let nextIndex = this.column.visibleIndex + 1 - pinnedColumns.length;
const nextIndex = this.column.visibleIndex + 1 - pinnedColumns.length;

if (this.isLastElementFocused()) {
if (nextIndex < this.filteringService.grid.unpinnedColumns.length &&
Expand Down Expand Up @@ -137,7 +137,7 @@ export class IgxGridFilteringCellComponent implements AfterViewInit, OnInit {
@HostListener('keydown.shift.tab', ['$event'])
public onShiftTabKeyDown(eventArgs) {
if (this.isFirstElementFocused()) {
let prevIndex = this.column.visibleIndex - 1 - this.filteringService.grid.pinnedColumns.length;
const prevIndex = this.column.visibleIndex - 1 - this.filteringService.grid.pinnedColumns.length;

if (this.column.visibleIndex > 0 && !this.navService.isColumnLeftFullyVisible(this.column.visibleIndex - 1)) {
eventArgs.preventDefault();
Expand Down

0 comments on commit b1be01f

Please sign in to comment.