Skip to content

Commit

Permalink
fix(share): #313
Browse files Browse the repository at this point in the history
  • Loading branch information
LolipopJ committed Sep 7, 2021
1 parent 4524b48 commit 2827ff0
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion layout/layout.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
</div>
<% } %>
<!-- async load share.js -->
<% if(is_post()) { %>
<% if (is_post()) { %>
<script src="<%- url_for('scripts/share.js') %>?v=<%- theme.source_version %>" async></script>
<% } %>
<!-- mermaid -->
Expand Down
2 changes: 1 addition & 1 deletion source/scripts/share.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion source/scripts/share.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/js/share.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ function init() {
sAuthor,
}

const shareWrapper = document.querySelector('.shareList')
const shareWrapper = document.querySelector('.share-list')
if (!shareWrapper) {
return
}
Expand Down

0 comments on commit 2827ff0

Please sign in to comment.