mirror of
https://github.com/minoplhy/chhoto-url.git
synced 2024-11-25 02:06:46 +00:00
chg: Show the whole link when clipboard is not accessible
This commit is contained in:
parent
41b7e37819
commit
39e4d2df74
@ -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.", "red");
|
||||
showAlert(`Could not copy short URL to clipboard, please do it manually: ${site}/${link}`, "red");
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user