Skip to content

Commit

Permalink
Fix indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
philippjfr committed Apr 22, 2021
1 parent ef3e77c commit 06aece8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions panel/models/tabulator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -471,11 +471,11 @@ export class DataTabulatorView extends PanelHTMLBoxView {
} else if (e.shiftKey && selected.indices.length) {
const start = selected.indices[selected.indices.length-1]
if (index>start) {
for (let i = start; i<index; i++)
indices.push(i)
for (let i = start; i<index; i++)
indices.push(i)
} else {
for (let i = start; i>index; i--)
indices.push(i)
for (let i = start; i>index; i--)
indices.push(i)
}
}
if (indices.indexOf(index) < 0)
Expand Down

0 comments on commit 06aece8

Please sign in to comment.