Skip to content

Commit

Permalink
update titla example
Browse files Browse the repository at this point in the history
  • Loading branch information
jcubic committed Dec 16, 2024
1 parent 7483c09 commit b793073
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion examples/tilda-demo.html
Original file line number Diff line number Diff line change
Expand Up @@ -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 + '"');
}
});
});

Expand Down

0 comments on commit b793073

Please sign in to comment.