Merge remote-tracking branch 'origin/master' into shim-webcrypto

This commit is contained in:
Danny Coates 2017-08-04 14:44:11 -07:00
commit 02fc4d74db
No known key found for this signature in database
GPG key ID: 4C442633C62E00CB
21 changed files with 204 additions and 40 deletions

View file

@ -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;