summary refs log tree commit diff
path: root/assets/js/main_new.js
diff options
context:
space:
mode:
authormayx2025-05-16 13:10:01 +0000
committermayx2025-05-16 13:10:01 +0000
commitfe5faeac16e6795c110044da6538328aa0e74af1 (patch)
tree8ebdbf727453a2b92fa98e04f8143cc352cca099 /assets/js/main_new.js
parent953811453e030ea38fd58f2b45192421870071ff (diff)
Update 4 files
- /search.html
- /assets/css/style.scss
- /assets/js/main_new.js
- /_layouts/post.html
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) {