Nextrek
Diff Revisions 910 vs 911 for /legal-map/js/articolo.js
@@ -13,7 +13,7 @@ | |||
13 | 13 | ||
14 | 14 | $(popupEl).children().each(function(){ | |
15 | 15 | console.log($(this).attr("id")); | |
16 | - | console.log($(this).attr("id").indexOf("-output") > -1); | |
16 | + | console.log($(this).attr("id") && $(this).attr("id").indexOf("-output") > -1); | |
17 | 17 | }); | |
18 | 18 | ||
19 | 19 | artEl.append(popupEl); |