aggiunto timeout

This commit is contained in:
Matteo Manzinello 2019-05-06 19:10:11 +02:00
parent 15dfc84f21
commit 69bc1f2155
3 changed files with 6 additions and 3 deletions

5
dist/mailgo.js vendored
View File

@ -255,7 +255,10 @@ function mailgoInit() {
"click",
function(event) {
copyToClipboard(mail);
copy.innerHTML = "copied!";
copy.innerHTML = "copied";
let timeout = setTimeout(() => {
copy.innerHTML = "copy";
}, 999);
},
false
);

2
dist/mailgo.min.js vendored

File diff suppressed because one or more lines are too long

View File

@ -255,7 +255,7 @@ function mailgoInit() {
"click",
function(event) {
copyToClipboard(mail);
copy.innerHTML = "copied!";
copy.innerHTML = "copied";
let timeout = setTimeout(() => {
copy.innerHTML = "copy";
}, 999);