diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2016-03-16 20:10:54 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2016-03-16 20:10:54 +0100 |
commit | 378df4c7ea51125e9235a1605b2aad9eb9eb8b8f (patch) | |
tree | 5670d3a3161e69f3f84497745c6f1b9339126176 /ishtar_common/static/js/ishtar.js | |
parent | 45ee586e56518331d2405ca827c333335260665a (diff) | |
download | Ishtar-378df4c7ea51125e9235a1605b2aad9eb9eb8b8f.tar.bz2 Ishtar-378df4c7ea51125e9235a1605b2aad9eb9eb8b8f.zip |
Show / hide advanced search (refs #3069)
Diffstat (limited to 'ishtar_common/static/js/ishtar.js')
-rw-r--r-- | ishtar_common/static/js/ishtar.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/ishtar_common/static/js/ishtar.js b/ishtar_common/static/js/ishtar.js index 7918f742f..9af5cf2b0 100644 --- a/ishtar_common/static/js/ishtar.js +++ b/ishtar_common/static/js/ishtar.js @@ -187,3 +187,11 @@ function closeAllWindows(){ jQuery("#window > div").hide("slow"); jQuery("#window").html(""); } + +function show_hide_flex(id){ + if ($(id).is(':hidden')){ + $(id).css('display', 'flex'); + } else { + $(id).hide(); + } +} |