summaryrefslogtreecommitdiff
path: root/common/content
diff options
context:
space:
mode:
authorKris Maglione <maglione.k@gmail.com>2011-03-12 17:04:36 -0500
committerKris Maglione <maglione.k@gmail.com>2011-03-12 17:04:36 -0500
commit6e909fb544c8dc8b6b395af02f524c18e71d7fbb (patch)
tree7c78623ca9da8f333a691e2a2105369a329483a2 /common/content
parentc1c97dcd546f078bb7dba87a3fb631ba04a71ee9 (diff)
downloadpentadactyl-6e909fb544c8dc8b6b395af02f524c18e71d7fbb.tar.gz
Fix minor event replay issue.
Diffstat (limited to 'common/content')
-rw-r--r--common/content/events.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/common/content/events.js b/common/content/events.js
index f2f44374..c70d9df0 100644
--- a/common/content/events.js
+++ b/common/content/events.js
@@ -92,7 +92,8 @@ var ProcessorStack = Class("ProcessorStack", {
this.timer = services.Timer(this, options["timeoutlen"], services.Timer.TYPE_ONE_SHOT);
}
else if (result !== Events.KILL && !this.actions.length &&
- !(this.passUnknown || this.modes.some(function (m) m.passEvent(this), this.events[0]))) {
+ !(this.events[0].isReplay || this.passUnknown
+ || this.modes.some(function (m) m.passEvent(this), this.events[0]))) {
result = Events.ABORT;
if (!Events.isEscape(this.events.slice(-1)[0]))
dactyl.beep();