forked from campiaperti/infra
Merge pull request #2333 from dougalsutherland/patch-2
remove unused `isPrintingPDFFragments` function
This commit is contained in:
commit
d549204ef1
1 changed files with 0 additions and 9 deletions
|
@ -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.
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue