mirror of
https://github.com/Jackett/Jackett
synced 2025-01-01 12:46:23 +00:00
webui: add copied to clipboard notification (#7038)
This commit is contained in:
parent
41beca0afc
commit
72ff71de9a
1 changed files with 1 additions and 0 deletions
|
@ -333,6 +333,7 @@ function copyToClipboard(text) {
|
|||
var succeed;
|
||||
try {
|
||||
succeed = document.execCommand("copy");
|
||||
doNotify("Copied to clipboard!", "success", "glyphicon glyphicon-ok");
|
||||
} catch (e) {
|
||||
succeed = false;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue