diff options
author | Florrie <towerofnix@gmail.com> | 2018-05-31 00:00:45 -0300 |
---|---|---|
committer | Florrie <towerofnix@gmail.com> | 2018-05-31 00:00:45 -0300 |
commit | f2676294c95695e2de3a7fb88eafae76d6827618 (patch) | |
tree | df80695b3e35bda8e40f5dccc7f21fb8875e7f76 /ui/Root.js | |
parent | 553bbf486e043f206bb8f2c92c943fd688f8fedc (diff) |
Let-const nitpicks
Diffstat (limited to 'ui/Root.js')
-rw-r--r-- | ui/Root.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/Root.js b/ui/Root.js index d306a41..b0364e2 100644 --- a/ui/Root.js +++ b/ui/Root.js @@ -29,7 +29,7 @@ module.exports = class Root extends DisplayElement { handleData(buffer) { if (this.selected) { const els = this.selected.directAncestors.concat([this.selected]) - for (let el of els) { + for (const el of els) { if (el instanceof FocusElement) { const shouldBreak = (el.keyPressed(buffer) === false) if (shouldBreak) { |