commit | e5be679b347e0b42e99ead1ca932a7fb2e11d075 | [log] [tgz] |
---|---|---|
author | Andreu Huguet <andreuhuguet@gmail.com> | Fri Dec 28 13:21:44 2018 +0100 |
committer | GitHub <noreply@github.com> | Fri Dec 28 13:21:44 2018 +0100 |
tree | 87dc1881c62fad2a3853089ceb2e30eef5c4669e | |
parent | a5cd348f08c606385f7a34c08e4a6024b6de3598 [diff] |
Ara funciona
diff --git a/js/autocomplete.js b/js/autocomplete.js index a22c542..cb3c28f 100644 --- a/js/autocomplete.js +++ b/js/autocomplete.js
@@ -18,7 +18,7 @@ for (node in obj) { var nomNode = obj[node].name; - if (isInRect(node.x, node.y, rectBorrar)) continue; + if (isInRect(obj[node].x, obj[node].y, rectBorrar)) continue; if (nomNode.toUpperCase().includes(val.toUpperCase())) { is_empty = false;