mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
declare undeclared loop var
This commit is contained in:
parent
bd19c203e1
commit
492d1ef30e
@ -255,7 +255,7 @@ RED.search = (function() {
|
||||
}
|
||||
currentResults = search(value);
|
||||
if (currentResults.length > 0) {
|
||||
for (i=0;i<Math.min(currentResults.length,25);i++) {
|
||||
for (let i=0;i<Math.min(currentResults.length,25);i++) {
|
||||
searchResults.editableList('addItem',currentResults[i])
|
||||
}
|
||||
if (currentResults.length > 25) {
|
||||
|
Loading…
Reference in New Issue
Block a user