From 083f6572f7cae92f8b55261ca5bc82be2a333492 Mon Sep 17 00:00:00 2001 From: ed Date: Fri, 29 Oct 2021 01:04:09 +0200 Subject: [PATCH] ie11 support --- copyparty/web/browser.css | 1 + copyparty/web/ui.css | 3 ++- copyparty/web/up2k.js | 5 ++++- copyparty/web/util.js | 2 +- 4 files changed, 8 insertions(+), 3 deletions(-) diff --git a/copyparty/web/browser.css b/copyparty/web/browser.css index 1111deba..2dd4c853 100644 --- a/copyparty/web/browser.css +++ b/copyparty/web/browser.css @@ -1781,6 +1781,7 @@ html.light #u2err.err { display: none; } #u2etas.o .o { + display: inherit; display: unset; } #u2etaw { diff --git a/copyparty/web/ui.css b/copyparty/web/ui.css index da2ed28a..5182bba4 100644 --- a/copyparty/web/ui.css +++ b/copyparty/web/ui.css @@ -79,7 +79,8 @@ html { } #toast.vis { right: 1.3em; - transform: unset; + transform: inherit; + transform: initial; } #toast.vis #toastc { left: -2em; diff --git a/copyparty/web/up2k.js b/copyparty/web/up2k.js index ce5a24e9..eabb3901 100644 --- a/copyparty/web/up2k.js +++ b/copyparty/web/up2k.js @@ -30,7 +30,10 @@ catch (ex) { try { up2k = up2k_init(false); } - catch (ex) { } + catch (ex) { + console.log('up2k init failed:', ex); + toast.err(10, 'could not initialze up2k\n\n' + basenames(ex)); + } } treectl.onscroll(); diff --git a/copyparty/web/util.js b/copyparty/web/util.js index 7c7c56d9..55db5d92 100644 --- a/copyparty/web/util.js +++ b/copyparty/web/util.js @@ -71,7 +71,7 @@ try { catch (ex) { if (console.stdlog) console.log = console.stdlog; - console.log(ex); + console.log('console capture failed', ex); } var crashed = false, ignexd = {}; function vis_exh(msg, url, lineNo, columnNo, error) {