This commit is contained in:
ed 2021-05-17 18:45:15 +02:00
parent 405ae1308e
commit 903f8e8453
2 changed files with 3 additions and 3 deletions

View file

@ -928,7 +928,6 @@ var treectl = (function () {
treesz = icfg_get('treesz', 16);
treesz = Math.min(Math.max(treesz, 4), 50);
console.log('treesz [' + treesz + ']');
function entree(e) {
ev(e);

View file

@ -20,11 +20,12 @@ var up2k = null;
try {
var cf = crypto.subtle || crypto.webkitSubtle;
cf.digest('SHA-512', new Uint8Array(1)).then(
function (x) { up2k = up2k_init(cf) },
function (x) { up2k = up2k_init(false) }
function (x) { console.log('sha-ok'); up2k = up2k_init(cf); },
function (x) { console.log('sha-ng:', x); up2k = up2k_init(false); }
);
}
catch (ex) {
console.log('sha-na:', ex);
try {
up2k = up2k_init(false);
}