Commit 2ea1defadbcb433eac3ed7f256a4ec3e616d5b34

Authored by Edmar Moretti
1 parent 41ba3ffb

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 170 }
171 171 ];
172 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 173 //TODO um dia, remover as imagens da pasta init e deixar apenas as da pasta init/imagens
193 174 function mostraBotoesBT(men){
194 175 var html = "";
... ... @@ -268,6 +249,7 @@ function reordenaBotoesPorFavoritos(){
268 249 favoritos = favoritos.split("|");
269 250 $(botoesIni).each(
270 251 function(i,el){
  252 + el.href = el.href.replace("#topo","");
271 253 if(jQuery.inArray(el.img,favoritos) >= 0){
272 254 f.push(el);
273 255 }
... ...