summaryrefslogtreecommitdiff
path: root/common/content/commandline.js
diff options
context:
space:
mode:
authorKris Maglione <maglione.k@gmail.com>2010-12-22 22:54:57 -0500
committerKris Maglione <maglione.k@gmail.com>2010-12-22 22:54:57 -0500
commit8d9c2cddc0bb614d56e9093c5b91e849ea7b2625 (patch)
tree1f108a2c288999828080b4af01bede331ecf2617 /common/content/commandline.js
parentf36bd842a3ff94b94c546729dcd12669d833f559 (diff)
downloadpentadactyl-8d9c2cddc0bb614d56e9093c5b91e849ea7b2625.tar.gz
Fix some bugs.
Diffstat (limited to 'common/content/commandline.js')
-rw-r--r--common/content/commandline.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/common/content/commandline.js b/common/content/commandline.js
index 75fadbea..3386d9ee 100644
--- a/common/content/commandline.js
+++ b/common/content/commandline.js
@@ -659,6 +659,9 @@ const CommandLine = Module("commandline", {
* the MOW.
*/
echo: function echo(str, highlightGroup, flags) {
+ if (String(str) == "undefined")
+ util.dumpStack();
+
// dactyl.echo uses different order of flags as it omits the highlight group, change commandline.echo argument order? --mst
if (this._silent)
return;