Merge pull request #2333 from dougalsutherland/patch-2

remove unused `isPrintingPDFFragments` function
This commit is contained in:
Hakim El Hattab 2019-02-28 09:58:02 +01:00 committed by GitHub
commit d549204ef1
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.
*/