From 641856265de4dc858e59830d3cd5a6976a08de87 Mon Sep 17 00:00:00 2001 From: cagataycivici Date: Tue, 9 Jul 2019 12:57:21 +0300 Subject: [PATCH] Fixed lint errors --- src/components/datatable/DataTable.vue | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/components/datatable/DataTable.vue b/src/components/datatable/DataTable.vue index 1d48aa85a..6d75002c8 100644 --- a/src/components/datatable/DataTable.vue +++ b/src/components/datatable/DataTable.vue @@ -471,7 +471,7 @@ export default { if (this.isMultipleSelectionMode() && event.shiftKey && this.anchorRowIndex != null) { DomHandler.clearSelection(); this.rangeRowIndex = rowIndex; - this.selectRange(event, rowIndex); + this.selectRange(event); } else { const selected = this.isSelected(rowData); @@ -547,7 +547,7 @@ export default { switch (event.which) { //down arrow case 40: - let nextRow = this.findNextSelectableRow(row); + var nextRow = this.findNextSelectableRow(row); if (nextRow) { nextRow.focus(); } @@ -557,7 +557,7 @@ export default { //up arrow case 38: - let prevRow = this.findPrevSelectableRow(row); + var prevRow = this.findPrevSelectableRow(row); if (prevRow) { prevRow.focus(); } @@ -661,7 +661,7 @@ export default { return 'p-datatable-row'; } }, - selectRange(event, rowIndex) { + selectRange(event) { let rangeStart, rangeEnd; if (this.rangeRowIndex > this.anchorRowIndex) {