From ca298fe4cc836ead11374565e2717c3ae90e53ba Mon Sep 17 00:00:00 2001 From: Metabox Date: Wed, 7 Aug 2019 07:43:12 +1000 Subject: [PATCH] toggle fix. --- htdocs/cgi-bin/wsrc/main.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/cgi-bin/wsrc/main.js b/htdocs/cgi-bin/wsrc/main.js index cc9db52..3e1ee82 100644 --- a/htdocs/cgi-bin/wsrc/main.js +++ b/htdocs/cgi-bin/wsrc/main.js @@ -19,10 +19,10 @@ var DEF_BACKGROUND = 'white'; function loadedBody(toggle) { + if (toggle) { - toggleSearch($("#btn_srch")); + this.toggle("#div_srh", false); } - $('#ed').datetimepicker({ dateFormat: 'yy-mm-dd', timeFormat: 'HH:mm:ss', -- 2.34.1