Skip to content

Commit

Permalink
move injected scripts to body
Browse files Browse the repository at this point in the history
  • Loading branch information
karimsa committed Jun 9, 2016
1 parent 24da0ea commit 493aa6e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions template/reveal.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,6 @@
<script>
document.write( '<link rel="stylesheet" href="css/print/' + ( window.location.search.match( /print-pdf/gi ) ? 'pdf' : 'paper' ) + '.css" type="text/css" media="print">' );
</script>

{{#scripts}}
<script src="/scripts/{{.}}"></script>
{{/scripts}}
</head>
<body>

Expand Down Expand Up @@ -67,5 +63,9 @@
options = extend(defaultOptions, options, queryOptions);
Reveal.initialize(options);
</script>

{{#scripts}}
<script src="/scripts/{{.}}"></script>
{{/scripts}}
</body>
</html>

0 comments on commit 493aa6e

Please sign in to comment.