aggiunto timeout
This commit is contained in:
parent
15dfc84f21
commit
69bc1f2155
5
dist/mailgo.js
vendored
5
dist/mailgo.js
vendored
@ -255,7 +255,10 @@ function mailgoInit() {
|
|||||||
"click",
|
"click",
|
||||||
function(event) {
|
function(event) {
|
||||||
copyToClipboard(mail);
|
copyToClipboard(mail);
|
||||||
copy.innerHTML = "copied!";
|
copy.innerHTML = "copied";
|
||||||
|
let timeout = setTimeout(() => {
|
||||||
|
copy.innerHTML = "copy";
|
||||||
|
}, 999);
|
||||||
},
|
},
|
||||||
false
|
false
|
||||||
);
|
);
|
||||||
|
2
dist/mailgo.min.js
vendored
2
dist/mailgo.min.js
vendored
File diff suppressed because one or more lines are too long
@ -255,7 +255,7 @@ function mailgoInit() {
|
|||||||
"click",
|
"click",
|
||||||
function(event) {
|
function(event) {
|
||||||
copyToClipboard(mail);
|
copyToClipboard(mail);
|
||||||
copy.innerHTML = "copied!";
|
copy.innerHTML = "copied";
|
||||||
let timeout = setTimeout(() => {
|
let timeout = setTimeout(() => {
|
||||||
copy.innerHTML = "copy";
|
copy.innerHTML = "copy";
|
||||||
}, 999);
|
}, 999);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user