summaryrefslogtreecommitdiff
path: root/public/views/slide.ejs
diff options
context:
space:
mode:
Diffstat (limited to 'public/views/slide.ejs')
-rw-r--r--public/views/slide.ejs12
1 files changed, 6 insertions, 6 deletions
diff --git a/public/views/slide.ejs b/public/views/slide.ejs
index eb22cec1..6674a3b4 100644
--- a/public/views/slide.ejs
+++ b/public/views/slide.ejs
@@ -37,13 +37,13 @@
<link rel="stylesheet" href="<%- url %>/css/slide.css">
<!-- Printing and PDF exports -->
- <script>
- var link = document.createElement( 'link' );
- link.rel = 'stylesheet';
- link.type = 'text/css';
+ <script>
+ var link = document.createElement( 'link' );
+ link.rel = 'stylesheet';
+ link.type = 'text/css';
link.href = '<%- url %>/build/reveal.js/' + (window.location.search.match( /print-pdf/gi ) ? 'css/print/pdf.css' : 'css/print/paper.css');
- document.getElementsByTagName( 'head' )[0].appendChild( link );
- </script>
+ document.getElementsByTagName( 'head' )[0].appendChild( link );
+ </script>
<%- include shared/polyfill %>
</head>