Common.js: Difference between revisions
Jump to navigation
Jump to search
Created page with "if ( window.location.search.indexOf('useskin=printable') !== -1 ) { document.documentElement.classList.add('force-print-mode'); }" |
No edit summary |
||
| Line 1: | Line 1: | ||
if ( window.location.search.indexOf(' | if ( window.location.search.indexOf('printable=yes') !== -1 ) { | ||
document.documentElement.classList.add('force-print-mode'); | document.documentElement.classList.add('force-print-mode'); | ||
} | } | ||
Latest revision as of 01:39, 28 July 2026
if ( window.location.search.indexOf('printable=yes') !== -1 ) {
document.documentElement.classList.add('force-print-mode');
}