summaryrefslogtreecommitdiffstats
path: root/js
diff options
context:
space:
mode:
Diffstat (limited to 'js')
-rw-r--r--js/pkgsubmit.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/js/pkgsubmit.js b/js/pkgsubmit.js
index 851462c..76727b8 100644
--- a/js/pkgsubmit.js
+++ b/js/pkgsubmit.js
@@ -175,6 +175,13 @@ function show_log_file(ev) {
d.animate({ scrollTop: d.prop("scrollHeight") }, 200);
})
)
+ .append($("<button />", {
+ class: "close",
+ html: "close"
+ }).on("click", function (ev) {
+ $("#" + cId).toggle();
+ })
+ )
)
.animate({ scrollTop: $("#" + elId).prop("scrollHeight") }, 1000);
}