summary refs log tree commit diff
path: root/assets/js/main_new.js
diff options
context:
space:
mode:
Diffstat (limited to 'assets/js/main_new.js')
-rw-r--r--assets/js/main_new.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/assets/js/main_new.js b/assets/js/main_new.js
index fd0170f..4f14c78 100644
--- a/assets/js/main_new.js
+++ b/assets/js/main_new.js
@@ -48,7 +48,9 @@ $(function () {
     $('section').each(function () {
         highlightTextNodes(this);
     });
+});
 
+$(function () {
     var codeBlocks = document.querySelectorAll('div.highlight');
 
     codeBlocks.forEach(function (codeBlock) {