MediaWiki:Common.js: Difference between revisions

m
no edit summary
mNo edit summary
mNo edit summary
Line 130: Line 130:
function startCountdown()
function startCountdown()
{
{
updateClocks();
document.getElementById('countdown-target').innerHTML = 'to ' + formatDate(new Date(T + tzOffset)) + ' ' + tz;
document.getElementById('countdown-target').innerHTML = 'to ' + formatDate(new Date(T + tzOffset)) + ' ' + tz;
document.getElementById('countdown').style.display = 'block';
document.getElementById('countdown').style.display = 'block';
updateClocks();
}
}


/* </pre> */
/* </pre> */