MediaWiki:Common.js: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 57: Line 57:


/* ======================================= template:Print Button ======================================= */
/* ======================================= template:Print Button ======================================= */
document.getElementById('print-button').addEventListener('click', print);  
document.getElementById('print-button').addEventListener('click', customPrint);
 
function customPrint() {
  print();
}


/* ======================================= template:Menu bar ======================================= */
/* ======================================= template:Menu bar ======================================= */