mirror of https://github.com/Jackett/Jackett
webui: add copied to clipboard notification (#7038)
This commit is contained in:
parent
41beca0afc
commit
72ff71de9a
|
@ -333,6 +333,7 @@ function copyToClipboard(text) {
|
||||||
var succeed;
|
var succeed;
|
||||||
try {
|
try {
|
||||||
succeed = document.execCommand("copy");
|
succeed = document.execCommand("copy");
|
||||||
|
doNotify("Copied to clipboard!", "success", "glyphicon glyphicon-ok");
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
succeed = false;
|
succeed = false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue