aboutsummaryrefslogtreecommitdiff
path: root/static/git-arr.js
diff options
context:
space:
mode:
Diffstat (limited to 'static/git-arr.js')
-rw-r--r--static/git-arr.js10
1 files changed, 10 insertions, 0 deletions
diff --git a/static/git-arr.js b/static/git-arr.js
index d1e3b81..d39ca72 100644
--- a/static/git-arr.js
+++ b/static/git-arr.js
@@ -61,3 +61,13 @@ function replace_timestamps() {
}
}
}
+
+function toggle(id) {
+ var e = document.getElementById(id);
+
+ if (e.style.display == "") {
+ e.style.display = "none"
+ } else if (e.style.display == "none") {
+ e.style.display = ""
+ }
+}