1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-28 14:02:36 +01:00

Show function prototype in :js completion even when waiting on key press.

This commit is contained in:
Kris Maglione
2011-10-07 08:31:36 -04:00
parent e5f4cae490
commit be52494f4f

View File

@@ -592,8 +592,10 @@ var JavaScript = Module("javascript", {
// Wait for a keypress before completing when there's no key
if (!this.context.tabPressed && key == "" && obj.length > 1) {
let message = this.context.message || "";
this.context.waitingForTab = true;
this.context.message = _("completion.waitingForKeyPress");
this.context.message = <>{message}
{_("completion.waitingForKeyPress")}</>;
return null;
}