From: Metabox Date: Tue, 6 Aug 2019 21:43:12 +0000 (+1000) Subject: toggle fix. X-Git-Url: https://lifelog.hopto.org/gitweb/?a=commitdiff_plain;h=ca298fe4cc836ead11374565e2717c3ae90e53ba;p=LifeLog.git toggle fix. --- 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',