1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-02-05 10:15:45 +01:00

Elements with contentEditable will now trigger insert mode. (David Bronke)

This commit is contained in:
Daniel Bainton
2009-04-15 08:32:09 +03:00
parent df5b66d838
commit 25935fa578

View File

@@ -1208,7 +1208,7 @@ function Events() //{{{
return;
}
if (elem instanceof HTMLTextAreaElement)
if (elem instanceof HTMLTextAreaElement || (elem && elem.contentEditable))
{
this.wantsModeReset = false;
if (options["insertmode"])