avoid palemoon bug on dragging a text selection;

"permission denied to access property preventDefault"
This commit is contained in:
ed 2023-11-26 20:22:59 +00:00
parent f902779050
commit 35b75c3db1
2 changed files with 2 additions and 2 deletions

View file

@ -1043,7 +1043,7 @@ function up2k_init(subtle) {
clmod(ebi(v), 'hl', 1); clmod(ebi(v), 'hl', 1);
} }
function offdrag(e) { function offdrag(e) {
ev(e); noope(e);
var v = this.getAttribute('v'); var v = this.getAttribute('v');
if (v) if (v)

View file

@ -295,7 +295,7 @@ function ev(e) {
function noope(e) { function noope(e) {
ev(e); try { ev(e); } catch (ex) { }
} }