mirror of
https://github.com/minoplhy/chhoto-url.git
synced 2024-11-24 17:56:49 +00:00
fix: Make the link clickable when securecontext is missing
This commit is contained in:
parent
6992d27390
commit
e55c6f82b4
@ -129,7 +129,7 @@ const copyShortUrl = async (link) => {
|
||||
showAlert(`Short URL ${link} was copied to clipboard!`, "green");
|
||||
} catch (e) {
|
||||
console.log(e);
|
||||
showAlert(`Could not copy short URL to clipboard, please do it manually: ${site}/${link}`, "red");
|
||||
showAlert(`Could not copy short URL to clipboard, please do it manually: <a href=${site}/${link}>${site}/${link}</a>`, "red");
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user