remove unused isPrintingPDFFragments function

This commit is contained in:
Dougal J. Sutherland 2019-02-28 01:19:43 +00:00 committed by GitHub
parent 1efb8260af
commit a36f7cbf99
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1829,15 +1829,6 @@
} }
/**
* Check if this instance is being used to print a PDF with fragments.
*/
function isPrintingPDFFragments() {
return ( /print-pdf-fragments/gi ).test( window.location.search );
}
/** /**
* Hides the address bar if we're on a mobile device. * Hides the address bar if we're on a mobile device.
*/ */