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
9442e2a993
commit
92dd80ac49
@ -247,7 +247,7 @@ RED.search = (function() {
|
|||||||
}
|
}
|
||||||
currentResults = search(value);
|
currentResults = search(value);
|
||||||
if (currentResults.length > 0) {
|
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])
|
searchResults.editableList('addItem',currentResults[i])
|
||||||
}
|
}
|
||||||
if (currentResults.length > 25) {
|
if (currentResults.length > 25) {
|
||||||
|
Loading…
Reference in New Issue
Block a user