diff options
author | Kris Maglione <maglione.k@gmail.com> | 2011-03-12 17:04:36 -0500 |
---|---|---|
committer | Kris Maglione <maglione.k@gmail.com> | 2011-03-12 17:04:36 -0500 |
commit | 6e909fb544c8dc8b6b395af02f524c18e71d7fbb (patch) | |
tree | 7c78623ca9da8f333a691e2a2105369a329483a2 /common/content | |
parent | c1c97dcd546f078bb7dba87a3fb631ba04a71ee9 (diff) | |
download | pentadactyl-6e909fb544c8dc8b6b395af02f524c18e71d7fbb.tar.gz |
Fix minor event replay issue.
Diffstat (limited to 'common/content')
-rw-r--r-- | common/content/events.js | 3 |
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(); |