1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-23 09:48:00 +01:00

Fix the MIW.

--HG--
branch : key-processing
This commit is contained in:
Kris Maglione
2011-01-24 16:55:43 -05:00
parent 5e8a11fe69
commit dbfd64729e
3 changed files with 42 additions and 37 deletions

View File

@@ -95,8 +95,11 @@ var ProcessorStack = Class("ProcessorStack", {
if (modes.replaying && !events.waitForPageLoad())
result = Events.KILL;
else
result = this.actions[0]() === Events.PASS ? Events.PASS : Events.KILL;
else {
for (var res = this.actions[0]; callable(res);)
res = res();
result = res === Events.PASS ? Events.PASS : Events.KILL;
}
}
else if (result !== Events.KILL && processors.some(function (p) !p.main.passUnknown)) {
result = Events.KILL;