diff --git a/web/index-static.html b/web/index-static.html index e7e668a..d7ed23d 100644 --- a/web/index-static.html +++ b/web/index-static.html @@ -56,6 +56,9 @@ $.get(DATA_PATH + encode_utf8(item_name) + ".txt", function(data) { $("#output").text(data); + }).fail( + function() { + $("#output").text("Error: item '" + item_name + "' not found"); }); }