From 94b6cbe5a2dc71c79c2c0e5784cbaaab524f784c Mon Sep 17 00:00:00 2001 From: Doug Kearns Date: Wed, 26 Aug 2009 00:38:10 +1000 Subject: [PATCH] Refactor commandline.command. --- common/content/ui.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/common/content/ui.js b/common/content/ui.js index b044ae81..35d3b2e6 100644 --- a/common/content/ui.js +++ b/common/content/ui.js @@ -1017,8 +1017,10 @@ function CommandLine() //{{{ // completion preview. return commandWidget.inputField.editor.rootElement.firstChild.textContent; } - catch (e) {} - return commandWidget.value; + catch (e) + { + return commandWidget.value; + } }, set command(cmd) commandWidget.value = cmd,