From 8afbd8f56d5a12e2a49616ace04e4cd35ba83a8e Mon Sep 17 00:00:00 2001 From: Janos SUTO Date: Thu, 4 Feb 2021 12:34:32 +0100 Subject: [PATCH] Let the gui return you last 20 messages automatically when you login Signed-off-by: Janos SUTO --- webui/view/javascript/piler-in.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/webui/view/javascript/piler-in.js b/webui/view/javascript/piler-in.js index b5f1d29c..2dc4d39f 100644 --- a/webui/view/javascript/piler-in.js +++ b/webui/view/javascript/piler-in.js @@ -1001,6 +1001,8 @@ var Piler = { Piler.log("[add_shortcuts]"); + $("#button_search").click(); + $(document).keypress(function(e){ if(e.which == 13){ $("#button_search").click();