summaryrefslogtreecommitdiff
path: root/public/views/slide.ejs
diff options
context:
space:
mode:
authorMax Wu2017-04-18 10:41:58 +0800
committerGitHub2017-04-18 10:41:58 +0800
commit450159a46213bbb9cbacfa17229277ff33e65d4e (patch)
tree0cd229c97dd3b2497c093a56f442e9414fbd823f /public/views/slide.ejs
parent2a5a518e88ef6c0d520ef0b9686447cf20f0e90e (diff)
parent5f3fe5c62c9434e24eba011092f03d72eadbe247 (diff)
Merge pull request #427 from PeterDaveHello/fix-indent
Fix indent in views, shouldn't mix tabs with spaces
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 3178fc95..26c38bba 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>