1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-29 07:02:27 +01:00

Fix history search issue introduced by revision 2da9a800c618.

This commit is contained in:
Kris Maglione
2011-01-30 11:19:44 -05:00
parent 64e9cfc545
commit 71ae0ca0cd
2 changed files with 3 additions and 3 deletions

View File

@@ -1026,7 +1026,7 @@ var Events = Module("events", {
let elem = event.originalTarget;
elem.dactylKeyPress = elem.value;
util.timeout(function () {
if (elem.value !== elem.dactylKeyPress)
if (elem.dactylKeyPress !== undefined && elem.value !== elem.dactylKeyPress)
events.dispatch(elem, events.create(elem.ownerDocument, "input"));
delete events.dactylKeyPress;
});