REMOVA OS ANÚNCIOS!
Apoiando através de https://apoia.se/arddhu a partir do tier de Apoiador, você pode navegar na wiki sem anúncios e ainda colabora com o projeto!
MediaWiki:Common.js: mudanças entre as edições
De Runarcana Wiki
Sem resumo de edição |
Sem resumo de edição |
||
Linha 139: | Linha 139: | ||
function toggleTOCVisibility(){ | function toggleTOCVisibility(){ | ||
var $floatTOC = $("#floatTOC"); | var $floatTOC = $("#floatTOC"); | ||
var $tocToggleButton = $("#toctogglebutton"); | |||
if($floatTOC.hasClass("hiddenFloatTOC")) { | if($floatTOC.hasClass("hiddenFloatTOC")) { | ||
$floatTOC.removeClass("hiddenFloatTOC"); | $floatTOC.removeClass("hiddenFloatTOC"); | ||
$toctogglebutton.html("<"); | |||
} else { | } else { | ||
$floatTOC.addClass("hiddenFloatTOC"); | $floatTOC.addClass("hiddenFloatTOC"); | ||
$toctogglebutton.html(">"); | |||
} | } | ||
} | } |