remove unneeded variable

This commit is contained in:
David Back 2018-09-27 17:04:43 -07:00
parent b7c098c260
commit 215e7e6da7

View file

@ -209,7 +209,7 @@ function loaded() {
}
}
if (previousItemFound !== -1 && clickedItemFound !== -1) {
let selection = [];
selection = [];
let toItem = Math.max(previousItemFound, clickedItemFound);
for (let i = Math.min(previousItemFound, clickedItemFound); i <= toItem; i++) {
selection.push(visibleEntities[i].id);