Skip to content

Commit d951217

Browse files
committed
separate loading of classList.js as its not tied to execution of highlight.js
1 parent f57de20 commit d951217

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

index.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,8 @@ <h3 class="inverted">BY Hakim El Hattab / hakim.se</h3>
314314
} );
315315

316316
// Load third party scripts
317-
head.js( 'lib/js/highlight.js', 'lib/js/classList.js', function() {
317+
head.js( 'lib/js/classList.js' );
318+
head.js( 'lib/js/highlight.js', function() {
318319
// Fire off syntax highlighting for potential code samples in the slides
319320
hljs.initHighlightingOnLoad();
320321
} );

0 commit comments

Comments
 (0)