diff --git a/copyparty/web/up2k.js b/copyparty/web/up2k.js index 795c496a..1917302c 100644 --- a/copyparty/web/up2k.js +++ b/copyparty/web/up2k.js @@ -1043,7 +1043,7 @@ function up2k_init(subtle) { clmod(ebi(v), 'hl', 1); } function offdrag(e) { - ev(e); + noope(e); var v = this.getAttribute('v'); if (v) diff --git a/copyparty/web/util.js b/copyparty/web/util.js index 20b04e86..822b958f 100644 --- a/copyparty/web/util.js +++ b/copyparty/web/util.js @@ -295,7 +295,7 @@ function ev(e) { function noope(e) { - ev(e); + try { ev(e); } catch (ex) { } }