1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-20 21:08:12 +01:00

Refactor commandline.command.

This commit is contained in:
Doug Kearns
2009-08-26 00:38:10 +10:00
parent 97236c4839
commit 94b6cbe5a2

View File

@@ -1017,8 +1017,10 @@ function CommandLine() //{{{
// completion preview. // completion preview.
return commandWidget.inputField.editor.rootElement.firstChild.textContent; return commandWidget.inputField.editor.rootElement.firstChild.textContent;
} }
catch (e) {} catch (e)
return commandWidget.value; {
return commandWidget.value;
}
}, },
set command(cmd) commandWidget.value = cmd, set command(cmd) commandWidget.value = cmd,