Permalink
Browse files

revealjs template - include pdf css stylesheet by default.

  • Loading branch information...
1 parent 1bf5dd6 commit 118f79db5a8709f40ae07f5c6cee803f26d6a663 John MacFarlane committed Mar 25, 2013
Showing with 1 addition and 6 deletions.
  1. +1 −6 default.revealjs
View
@@ -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]-->

0 comments on commit 118f79d

Please sign in to comment.