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;
|
||||
try {
|
||||
succeed = document.execCommand("copy");
|
||||
doNotify("Copied to clipboard!", "success", "glyphicon glyphicon-ok");
|
||||
} catch (e) {
|
||||
succeed = false;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue