MediaWiki:Wikiminiatlas.js: Difference between revisions
mNo edit summary |
(the french moved their title coordinates outside of bodyContent) |
||
Line 251: | Line 251: | ||
} | } | ||
else | else | ||
bodyc = document.getElementById('bodyContent') || document; | { | ||
// the french moved their title coordinates outside of bodyContent! | |||
if( site == 'fr' ) | |||
bodyc = document.getElementById('content') || document; | |||
else | |||
bodyc = document.getElementById('bodyContent') || document; | |||
} | |||
links = bodyc.getElementsByTagName('a'); | links = bodyc.getElementsByTagName('a'); |