5 148
redigeringar
Niklas (diskussion | bidrag) Ingen redigeringssammanfattning |
Niklas (diskussion | bidrag) Ingen redigeringssammanfattning |
||
Rad 59: | Rad 59: | ||
$(function() { | $(function() { | ||
var paragraph = document.getElementById("transcribe-go"); | var paragraph = document.getElementById("transcribe-go"); | ||
var currentName = {{PAGENAME}}; // Replace this with the | if (paragraph) { | ||
var currentName = {{PAGENAME}}; // Replace this with the actual page name | |||
paragraph.textContent = currentName.latinize(); | |||
} else { | |||
console.error("Could not find 'transcribe-go' element."); | |||
} | |||
}); | }); |