mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-05 04:14:12 +01:00
Cut down on some error console noise when generating XPCOM stubs.
This commit is contained in:
@@ -751,7 +751,7 @@ const Events = Module("events", {
|
||||
return;
|
||||
}
|
||||
|
||||
if (elem instanceof HTMLTextAreaElement || (elem && elem.contentEditable == "true")) {
|
||||
if (elem instanceof HTMLTextAreaElement || (elem && util.computedStyle(elem).MozUserModify == "read-write")) {
|
||||
if (options["insertmode"])
|
||||
modes.set(modes.INSERT);
|
||||
else if (elem.selectionEnd - elem.selectionStart > 0)
|
||||
|
||||
Reference in New Issue
Block a user