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 Etiqueta: Reversão manual |
Sem resumo de edição |
||
Linha 26: | Linha 26: | ||
y.getAttribute("id").toLowerCase() | y.getAttribute("id").toLowerCase() | ||
) { | ) { | ||
console.log(x); | |||
console.log(y); | |||
// if so, mark as a switch and break the loop: | // if so, mark as a switch and break the loop: | ||
shouldSwitch = true; | shouldSwitch = true; | ||
Linha 40: | Linha 42: | ||
.querySelector(".mw-headline") | .querySelector(".mw-headline") | ||
.getAttribute("id"); | .getAttribute("id"); | ||
console.log(rowIdA); | |||
console.log(rowIdB); | |||
var floatTOCLinkA = document.querySelector( | var floatTOCLinkA = document.querySelector( | ||
'a[href$="' + rowIdA + '"]' | 'a[href$="' + rowIdA + '"]' |