Skip to content

Commit

Permalink
tabutils: don't add list prefix when copying a single tab
Browse files Browse the repository at this point in the history
  • Loading branch information
XPhyro committed Aug 21, 2024
1 parent fc952c7 commit f383b76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/js/browser/tabutils/background.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ function pasteTabs()
function copyCurrentTab()
{
chrome.tabs.query({ currentWindow: true, active: true }, (tabs) => {
const tabInfo = `- [${tabs[0].title}](${tabs[0].url})`;
const tabInfo = `[${tabs[0].title}](${tabs[0].url})`;
writeToClipboard(tabInfo);
});
}
Expand Down

0 comments on commit f383b76

Please sign in to comment.