Commit 2ea1defadbcb433eac3ed7f256a4ec3e616d5b34
1 parent
41ba3ffb
Exists in
master
and in
7 other branches
Correção nos links dos botoes
Showing
1 changed file
with
1 additions
and
19 deletions
Show diff stats
init/index.js
| @@ -170,25 +170,6 @@ botoesIni = [ | @@ -170,25 +170,6 @@ botoesIni = [ | ||
| 170 | } | 170 | } |
| 171 | ]; | 171 | ]; |
| 172 | reordenaBotoesPorFavoritos(); | 172 | reordenaBotoesPorFavoritos(); |
| 173 | -function mostraBotoes(){ | ||
| 174 | - $i("mensagemLogin").innerHTML = men; | ||
| 175 | - i3GEO.configura = {"locaplic" : ".."}; | ||
| 176 | - i3GEO.idioma.IDSELETOR = "bandeiras"; | ||
| 177 | - i3GEO.idioma.mostraSeletor(); | ||
| 178 | - //i3GEO.barraDeBotoes.ATIVA = false; | ||
| 179 | - var ins = [],i,n = botoesIni.length,texto; | ||
| 180 | - for(i=0;i<n;i++){ | ||
| 181 | - botoesIni[i].href = botoesIni[i].href.replace("#topo",""); | ||
| 182 | - texto = '<div class="r" ><div class="ri" ><a target=_blank href="'+botoesIni[i].href+'" ><img style="max-height:77px;" src="'+botoesIni[i].img+'" /><br><br>'+botoesIni[i].titulo+'</a>'; | ||
| 183 | - if(botoesIni[i].subtitulo){ | ||
| 184 | - //texto += botoesIni[i].subtitulo; | ||
| 185 | - } | ||
| 186 | - texto += '</div></div>'; | ||
| 187 | - ins.push(texto); | ||
| 188 | - } | ||
| 189 | - $i("botoes").innerHTML = ins.join(""); | ||
| 190 | - $i("conteudo").style.height = i3GEO.util.getScrollHeight() + "px"; | ||
| 191 | -} | ||
| 192 | //TODO um dia, remover as imagens da pasta init e deixar apenas as da pasta init/imagens | 173 | //TODO um dia, remover as imagens da pasta init e deixar apenas as da pasta init/imagens |
| 193 | function mostraBotoesBT(men){ | 174 | function mostraBotoesBT(men){ |
| 194 | var html = ""; | 175 | var html = ""; |
| @@ -268,6 +249,7 @@ function reordenaBotoesPorFavoritos(){ | @@ -268,6 +249,7 @@ function reordenaBotoesPorFavoritos(){ | ||
| 268 | favoritos = favoritos.split("|"); | 249 | favoritos = favoritos.split("|"); |
| 269 | $(botoesIni).each( | 250 | $(botoesIni).each( |
| 270 | function(i,el){ | 251 | function(i,el){ |
| 252 | + el.href = el.href.replace("#topo",""); | ||
| 271 | if(jQuery.inArray(el.img,favoritos) >= 0){ | 253 | if(jQuery.inArray(el.img,favoritos) >= 0){ |
| 272 | f.push(el); | 254 | f.push(el); |
| 273 | } | 255 | } |