diff --git a/examples/tilda-demo.html b/examples/tilda-demo.html index 1f0750fc..41752497 100644 --- a/examples/tilda-demo.html +++ b/examples/tilda-demo.html @@ -98,7 +98,9 @@ jQuery(document).ready(function($) { $('#tilda').tilda(function(command, terminal) { - terminal.echo('you type command "' + command + '"'); + if (command) { + terminal.echo('you type command "' + command + '"'); + } }); });