aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHakim El Hattab <hakim.elhattab@gmail.com>2019-02-28 09:58:02 +0100
committerGitHub <noreply@github.com>2019-02-28 09:58:02 +0100
commitd549204ef17a0d87a0bf658a44e18edaad942aee (patch)
tree18e5addefaa2316db1938a3bd20b3acf6333ba80
parent1efb8260af1c743713061821633e154602361d54 (diff)
parenta36f7cbf99c1af6ed973f382708311bcec912841 (diff)
downloadperl-software-in-gnu-guix-d549204ef17a0d87a0bf658a44e18edaad942aee.tar
perl-software-in-gnu-guix-d549204ef17a0d87a0bf658a44e18edaad942aee.tar.gz
Merge pull request #2333 from dougalsutherland/patch-2
remove unused `isPrintingPDFFragments` function
-rw-r--r--js/reveal.js9
1 files changed, 0 insertions, 9 deletions
diff --git a/js/reveal.js b/js/reveal.js
index 237c0c4..a17a33a 100644
--- a/js/reveal.js
+++ b/js/reveal.js
@@ -1830,15 +1830,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.
*/
function hideAddressBar() {