mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-03-16 15:13:32 +01:00
Fix pressing <Space> in content-editable windows. Closes issue #not-in-the-tracker-for-some-reason.
This commit is contained in:
@@ -1277,7 +1277,8 @@ var Events = Module("events", {
|
||||
return;
|
||||
}
|
||||
|
||||
if (elem instanceof HTMLTextAreaElement || (elem && util.computedStyle(elem).MozUserModify == "read-write")
|
||||
if (elem instanceof HTMLTextAreaElement
|
||||
|| elem instanceof Element && util.computedStyle(elem).MozUserModify === "read-write"
|
||||
|| elem == null && win && Editor.getEditor(win)) {
|
||||
|
||||
if (modes.main == modes.VISUAL && elem.selectionEnd == elem.selectionStart)
|
||||
|
||||
Reference in New Issue
Block a user