* s/Interval/Timeout/
This commit is contained in:
@@ -174,7 +174,7 @@
|
|||||||
|
|
||||||
navigator.clipboard.writeText(pw).then(() => {
|
navigator.clipboard.writeText(pw).then(() => {
|
||||||
$docopy.val('[ COPIED ]');
|
$docopy.val('[ COPIED ]');
|
||||||
setInterval(() => {
|
setTimeout(() => {
|
||||||
$docopy.val('Copy password');
|
$docopy.val('Copy password');
|
||||||
$docopy.prop('disabled', '');
|
$docopy.prop('disabled', '');
|
||||||
}, 1500);
|
}, 1500);
|
||||||
|
|||||||
Reference in New Issue
Block a user