Skip to content

Commit

Permalink
fix typescript error
Browse files Browse the repository at this point in the history
  • Loading branch information
dwido committed Apr 10, 2017
1 parent 391ea5a commit ee6756e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/leonardo/ui/views/recorder/recorder-list/recorder-list.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ export default class RecorderList extends DOMElement {

private removeSelections() {
const elements = document.querySelectorAll('.leonardo-recorder-list-item');
for (const el of elements) {
el.classList.remove(this.selectedClass);
for (let i = 0; i < elements.length; ++i) {
elements[i].classList.remove(this.selectedClass);
}
}

Expand Down

0 comments on commit ee6756e

Please sign in to comment.