mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-14 21:28:11 +02:00
fix typo: iterate over imagery blacklist
see https://github.com/openstreetmap/iD/issues/3858#issuecomment-282130145
This commit is contained in:
@@ -135,7 +135,7 @@ export function rendererBackground(context) {
|
||||
tested = 0,
|
||||
regex, i;
|
||||
|
||||
for (i = 0; i < blacklists; i++) {
|
||||
for (i = 0; i < blacklists.length; i++) {
|
||||
try {
|
||||
regex = new RegExp(blacklists[i]);
|
||||
fail = regex.test(d.template);
|
||||
|
||||
Reference in New Issue
Block a user