Skip to content

Commit

Permalink
fix(pandown): Uncaught TypeError: pandown is not a function
Browse files Browse the repository at this point in the history
  • Loading branch information
MHuiG committed Aug 25, 2022
1 parent 7f11915 commit 371b1ec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/tags/pandown.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ hexo.extend.tag.register('pandown', function(args) {
}
let result = '';
// js
result += '<div class="tag pandown-tags"><script type="text/javascript" src="https://unpkg.com/pandown"></script>';
result += '<div class="tag pandown-tags">';
//pandown
result += '<pandown type="'+type+'" url="'+url+'" pwd="'+pwd+'" fname="'+fname+'"></pandown>'
//调用
result += '<script>pandown()</script></div>'
result += '<script>volantis.js("https://unpkg.com/pandown").then(pandown)</script></div>'
return result;
});

0 comments on commit 371b1ec

Please sign in to comment.