Merge remote-tracking branch 'origin/master' into shim-webcrypto
This commit is contained in:
commit
02fc4d74db
21 changed files with 204 additions and 40 deletions
|
@ -127,12 +127,12 @@ function copyToClipboard(str) {
|
|||
sel.removeAllRanges();
|
||||
sel.addRange(range);
|
||||
aux.setSelectionRange(0, str.length);
|
||||
}
|
||||
else {
|
||||
} else {
|
||||
aux.select();
|
||||
}
|
||||
document.execCommand('copy');
|
||||
const result = document.execCommand('copy');
|
||||
document.body.removeChild(aux);
|
||||
return result;
|
||||
}
|
||||
|
||||
const ONE_DAY_IN_MS = 86400000;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue