mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-05 00:14:11 +01:00
Fix generating incorrect help pages on Firefox 4.
This commit is contained in:
@@ -1055,11 +1055,12 @@ var Events = Module("events", {
|
||||
if (buffer.loaded)
|
||||
return true;
|
||||
|
||||
dactyl.echo(_("macro.loadWaiting"), commandline.DISALLOW_MULTILINE);
|
||||
dactyl.echo(_("macro.loadWaiting"), commandline.FORCE_SINGLELINE);
|
||||
|
||||
const maxWaitTime = (time || 25);
|
||||
util.waitFor(function () !events.feedingKeys || buffer.loaded, this, maxWaitTime * 1000, true);
|
||||
util.waitFor(function () buffer.loaded, this, maxWaitTime * 1000, true);
|
||||
|
||||
dactyl.echo("", commandline.FORCE_SINGLELINE);
|
||||
if (!buffer.loaded)
|
||||
dactyl.echoerr(_("macro.loadFailed", maxWaitTime));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user