Skip to content

Commit

Permalink
RELEASE: v.1.1.1
Browse files Browse the repository at this point in the history
fix: typo in `insertCopyCodeButton_CodeBlock()` buttons' data-on-click - changed incorrect `copy_code_CodeBlock` to `copy_code_codeBlock` (addresses #6)
  • Loading branch information
vyleung committed May 20, 2022
1 parent b5e6150 commit e9682f5
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "logseq-copy-code-plugin",
"version": "1.1.0",
"version": "1.1.1",
"description": "",
"main": "dist/index.html",
"targets": {
Expand Down
2 changes: 1 addition & 1 deletion src/index.js
Expand Up @@ -96,7 +96,7 @@ const main = async () => {
path: `#block-content-${code_block_uuid} > .block-body > .cp__fenced-code-block > div > #${code_block_parent.id}`,
template:
`
<a class="button copy-button" id="${code_block_parent.id}-button" data-on-click="copy_code_CodeBlock" style="display:flex; position:absolute;">
<a class="button copy-button" id="${code_block_parent.id}-button" data-on-click="copy_code_codeBlock" style="display:flex; position:absolute;">
${copy_icon}
</a>
`
Expand Down

0 comments on commit e9682f5

Please sign in to comment.