Nextrek
Diff Revisions
915
vs
916
for /legal-map/js/articolo.js
|
@@ -9,15 +9,12 @@ |
9 |
9 |
|
// rimuovi link dal popup e mette la classe per evidenziarli "popup-anchor" |
10 |
10 |
|
$(popupEl).find('a').each(function(){ |
11 |
11 |
|
//$(this).data("href", $(this).attr("href")).removeAttr("href").addClass("popup-anchor"); |
12 |
|
- |
$(this).data("href", $(this).attr("href")).addClass("popup-anchor"); |
13 |
12 |
|
}); |
14 |
13 |
|
|
15 |
14 |
|
$(popupEl).children().each(function(){ |
16 |
15 |
|
if ($(this).attr("id") && $(this).attr("id").indexOf("-output") > -1){ |
17 |
16 |
|
$(this).addClass("popupArtContainer"); |
18 |
17 |
|
} |
19 |
|
- |
//console.log($(this).attr("id")); |
20 |
|
- |
//console.log($(this).attr("id") && $(this).attr("id").indexOf("-output") > -1); |
21 |
18 |
|
}); |
22 |
19 |
|
|
23 |
20 |
|
artEl.append(popupEl); |