Commit f2ba3f2b1825ef66e96517b7dc4cdf68c7829446
1 parent
2ea1defa
Exists in
master
and in
7 other branches
Correção nos links dos botoes
Showing
1 changed file
with
5 additions
and
1 deletions
Show diff stats
init/index.js
... | ... | @@ -245,11 +245,15 @@ function reordenaBotoesPorFavoritos(){ |
245 | 245 | var f = [], |
246 | 246 | nf = [], |
247 | 247 | favoritos = i3GEO.util.pegaCookie("favoritosInit"); |
248 | + $(botoesIni).each( | |
249 | + function(i,el){ | |
250 | + el.href = el.href.replace("#topo",""); | |
251 | + } | |
252 | + ); | |
248 | 253 | if(favoritos){ |
249 | 254 | favoritos = favoritos.split("|"); |
250 | 255 | $(botoesIni).each( |
251 | 256 | function(i,el){ |
252 | - el.href = el.href.replace("#topo",""); | |
253 | 257 | if(jQuery.inArray(el.img,favoritos) >= 0){ |
254 | 258 | f.push(el); |
255 | 259 | } | ... | ... |