From b793073b67c5323dafedefede9cf8ad6ed6e9714 Mon Sep 17 00:00:00 2001 From: Jakub Jankiewicz Date: Mon, 16 Dec 2024 16:20:20 +0100 Subject: [PATCH] update titla example --- examples/tilda-demo.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/examples/tilda-demo.html b/examples/tilda-demo.html index 1f0750fcb..41752497c 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 + '"'); + } }); });