diff options
Diffstat (limited to 'ishtar_common/static/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(); +    } +} | 
