1
0
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:
Kris Maglione
2011-03-11 07:10:12 -05:00
parent 5e6b47009c
commit d8c5f87872
3 changed files with 9 additions and 6 deletions

View File

@@ -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));