diff options
Diffstat (limited to 'common/content/events.js')
-rw-r--r-- | common/content/events.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/common/content/events.js b/common/content/events.js index 9e36d766..3c72b4e8 100644 --- a/common/content/events.js +++ b/common/content/events.js @@ -1315,7 +1315,10 @@ var Events = Module("events", { }, keyup: function onKeyUp(event) { - this.keyEvents.push(event); + if (this.type == "keydown") + this.keyEvents.push(event); + else + this.keyEvents = []; let isMacro = event.isMacro || this.feedingEvent && this.feedingEvent.isMacro; if (this.lastKeyFake && !isMacro) |