MediaWiki:Common.js: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
No edit summary |
No edit summary |
||
Line 80: | Line 80: | ||
document.getElementById('country-change-select').style.display = 'block'; |
document.getElementById('country-change-select').style.display = 'block'; |
||
}); |
}); |
||
enableCountrySelect(); |
|||
} |
} |
||
// TODO: only do this when actually needed e.g. geolocate error |
|||
if ( document.getElementById('country-select') ) { |
if ( document.getElementById('country-select') ) { |
||
enableCountrySelect(); |
enableCountrySelect(); |