Skip to content

Commit

Permalink
Merge pull request #74 from LightAPIs/pr
Browse files Browse the repository at this point in the history
Fix an extra space caused by the custom style
  • Loading branch information
cqroot committed Jan 21, 2023
2 parents 386e464 + ab7d362 commit 68a61b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/webview.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ function copyInnerLink(dataset, text) {
webviewApi.postMessage({
name: 'contextMenu',
hash: dataset.slug,
content: text,
content: text.trim(),
});

document.getElementById('header').innerHTML = 'Copy successful!';
Expand Down

0 comments on commit 68a61b3

Please sign in to comment.