X-Git-Url: https://git.distorted.org.uk/~mdw/rsync-backup/blobdiff_plain/cc950b1c2ffa87d7804e08f140fcde7623e01583..b0c99c5901c50c42ad37b040bcde0a299e9e2000:/check-bkp-status.in diff --git a/check-bkp-status.in b/check-bkp-status.in index a999f13..de347c6 100644 --- a/check-bkp-status.in +++ b/check-bkp-status.in @@ -275,8 +275,10 @@ html_header () { if (LAST_EXPAND !== null) do_hide(LAST_EXPAND[0], LAST_EXPAND[1]); var d = elt('logdump-' + tag); var b = elt('expand-' + tag); - LAST_EXPAND = [d, b]; - do_show(d, b); + if (elt_class_p(d, 'hide')) { + LAST_EXPAND = [d, b]; + do_show(d, b); + } } function make_toggle_button(tag) { document.write(