From 88bf4cdbce06977007e8b63dd2e1f8b3948fd3e1 Mon Sep 17 00:00:00 2001 From: pezcurrel Date: Wed, 11 Mar 2020 19:25:54 +0100 Subject: [PATCH] ... --- .gitignore | 2 +- web/admin/js/menu.js | 12 ++++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 web/admin/js/menu.js diff --git a/.gitignore b/.gitignore index b74752d..926fd68 100644 --- a/.gitignore +++ b/.gitignore @@ -3,4 +3,4 @@ web/admin/crawler/currinst.job web/admin/crawler/instances.job web/admin/crawler/instances.json vendor -composer.lock \ No newline at end of file +composer.lock diff --git a/web/admin/js/menu.js b/web/admin/js/menu.js new file mode 100644 index 0000000..9ce1816 --- /dev/null +++ b/web/admin/js/menu.js @@ -0,0 +1,12 @@ +function chulsh(el,sh) { + if (sh) + el.querySelector('ul').style.display='block'; + else + el.querySelector('ul').style.display='none'; +} +function ulsh(el,sh) { + if (sh) + el.style.display='block'; + else + el.style.display='none'; +}