diff options
Diffstat (limited to 'ext/fg/js/frontend.js')
| -rw-r--r-- | ext/fg/js/frontend.js | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/ext/fg/js/frontend.js b/ext/fg/js/frontend.js index 16302e82..8297f54d 100644 --- a/ext/fg/js/frontend.js +++ b/ext/fg/js/frontend.js @@ -447,8 +447,8 @@ class Frontend {      }      getIndexOfTouch(touchList, identifier) { -        for (let i in touchList) { -            let t = touchList[i]; +        for (const i in touchList) { +            const t = touchList[i];              if (t.identifier === identifier) {                  return i;              } |