Global variable definition in for loop: Fixed

This commit is contained in:
ralphwetzel 2022-06-30 22:08:58 +02:00
parent 81e7b052da
commit 4d42f8ec58
1 changed files with 1 additions and 1 deletions

View File

@ -268,7 +268,7 @@ RED.keyboard = (function() {
}
if (Object.keys(handler).length > 0) {
// check if there's a potential combined handler initiated by this keyCode
for (h in handler) {
for (let h in handler) {
if (matchHandlerToEvent(evt,handler[h]) > -1) {
partialState = handler;
evt.preventDefault();