aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--default.revealjs7
1 files changed, 1 insertions, 6 deletions
diff --git a/default.revealjs b/default.revealjs
index f287abec3..f5f67f182 100644
--- a/default.revealjs
+++ b/default.revealjs
@@ -27,12 +27,7 @@ $endfor$
$else$
<link rel="stylesheet" href="$revealjs-url$/css/theme/simple.css" id="theme">
$endif$
- <!-- If the query includes 'print-pdf', use the PDF print sheet -->
- <script>
- document.write( '<link rel="stylesheet" href="$revealjs-url$/css/print/' +
- ( window.location.search.match( /print-pdf/gi ) ? 'pdf' : 'paper' ) +
- '.css" type="text/css" media="print">' );
- </script>
+ <link rel="stylesheet" media="print" href="$revealjs-url$/css/print/pdf.css" />
<!--[if lt IE 9]>
<script src="$revealjs-url$/lib/js/html5shiv.js"></script>
<![endif]-->