src/js/print.js
function styleToAll() {
    // sometimes, setStylesheet fails upon loading
    printStyleSheet = printStyleSheet || getPrintStyleSheet();
    $printStyleSheetLink = $printStyleSheetLink || getPrintStyleSheetLink();
    // Chrome:
    printStyleSheet.media.mediaText = 'all';
    // Firefox:
    $printStyleSheetLink.attr( 'media', 'all' );
    return !!printStyleSheet;
}
function styleToAll() {
    // sometimes, setStylesheet fails upon loading
    printStyleSheet = printStyleSheet || getPrintStyleSheet();
    $printStyleSheetLink = $printStyleSheetLink || getPrintStyleSheetLink();
    // Chrome:
    printStyleSheet.media.mediaText = 'all';
    // Firefox:
    $printStyleSheetLink.attr( 'media', 'all' );
    return !!printStyleSheet;
}
function styleToAll ( ) { // sometimes, setStylesheet fails upon loading printStyleSheet = printStyleSheet || getPrintStyleSheet ( ) ; $printStyleSheetLink = $printStyleSheetLink || getPrintStyleSheetLink ( ) ; // Chrome: printStyleSheet . media . mediaText = 'all' ; // Firefox: $printStyleSheetLink . attr ( 'media' , 'all' ) ; return ! ! printStyleSheet ; }
Applies the print stylesheet to the current view by changing stylesheets media property to 'all'
Applies the print stylesheet to the current view by changing stylesheets media property to all