Browse Source

修复代码库读取缓存数据不高亮的问题 (#919)

Co-authored-by: xiangshen <[email protected]>
xiangshenb 1 year ago
parent
commit
d1b2476092
1 changed files with 1 additions and 0 deletions
  1. 1 0
      static/js/kancloud.js

+ 1 - 0
static/js/kancloud.js

@@ -178,6 +178,7 @@ function loadDocument($url, $id, $callback) {
                 }
                 renderPage(data);
 
+                loadCopySnippets();
                 events.trigger('article.open', { $url: $url, $id: $id });
 
                 return false;