diff --git a/init/index.js b/init/index.js index 10a60a7..056fdf3 100755 --- a/init/index.js +++ b/init/index.js @@ -170,25 +170,6 @@ botoesIni = [ } ]; reordenaBotoesPorFavoritos(); -function mostraBotoes(){ - $i("mensagemLogin").innerHTML = men; - i3GEO.configura = {"locaplic" : ".."}; - i3GEO.idioma.IDSELETOR = "bandeiras"; - i3GEO.idioma.mostraSeletor(); - //i3GEO.barraDeBotoes.ATIVA = false; - var ins = [],i,n = botoesIni.length,texto; - for(i=0;i

'+botoesIni[i].titulo+''; - if(botoesIni[i].subtitulo){ - //texto += botoesIni[i].subtitulo; - } - texto += ''; - ins.push(texto); - } - $i("botoes").innerHTML = ins.join(""); - $i("conteudo").style.height = i3GEO.util.getScrollHeight() + "px"; -} //TODO um dia, remover as imagens da pasta init e deixar apenas as da pasta init/imagens function mostraBotoesBT(men){ var html = ""; @@ -268,6 +249,7 @@ function reordenaBotoesPorFavoritos(){ favoritos = favoritos.split("|"); $(botoesIni).each( function(i,el){ + el.href = el.href.replace("#topo",""); if(jQuery.inArray(el.img,favoritos) >= 0){ f.push(el); } -- libgit2 0.21.2