Difference between revisions of "Template:Sidebar"
Adelo Vieira (talk | contribs) |
Adelo Vieira (talk | contribs) |
||
Line 417: | Line 417: | ||
<script> | <script> | ||
+ | |||
+ | show_oculto = false | ||
function openCity(evt, cityName) { | function openCity(evt, cityName) { | ||
Line 473: | Line 475: | ||
if ( document.getElementById('pt-userpage') != null ) { | if ( document.getElementById('pt-userpage') != null ) { | ||
if ( document.getElementById('pt-userpage').getElementsByTagName('a')[0].innerText == "Adelo Vieira" ){ | if ( document.getElementById('pt-userpage').getElementsByTagName('a')[0].innerText == "Adelo Vieira" ){ | ||
− | $('.oculto').css('display','block') | + | if show_oculto == true { |
+ | $('.oculto').css('display','block') | ||
+ | } | ||
$('.link-hidden').css('pointer-events','auto') | $('.link-hidden').css('pointer-events','auto') | ||
$('#p-logo a').attr('href','/view/Mis_páginas'); | $('#p-logo a').attr('href','/view/Mis_páginas'); |
Revision as of 20:22, 5 July 2021