diff options
-rw-r--r-- | js/pkgsubmit.js | 7 |
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); } |