MediaWiki:Common.js: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 2: Line 2:


/* ====== switch toggle ====== */
/* ====== switch toggle ====== */
 
if (document.getElementById('switch-input')) {
document.getElementById('switch-input').addEventListener('click', toggleView);  
document.getElementById('switch-input').addEventListener('click', toggleView);  
}


var toggleStatus = 'yes';
var toggleStatus = 'yes';