summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRomain d'Alverny <rda@mageia.org>2012-12-10 14:09:36 +0000
committerRomain d'Alverny <rda@mageia.org>2012-12-10 14:09:36 +0000
commit7495b1da37ee7dd1a27361bd8bf0fe1ad77f0014 (patch)
treec75e06007a30caff632bb22fdd3ba1356b670221
parenta2883a113895f3c4cfd83f920df1b43f76add3b6 (diff)
downloadpkgsubmit-7495b1da37ee7dd1a27361bd8bf0fe1ad77f0014.tar
pkgsubmit-7495b1da37ee7dd1a27361bd8bf0fe1ad77f0014.tar.gz
pkgsubmit-7495b1da37ee7dd1a27361bd8bf0fe1ad77f0014.tar.bz2
pkgsubmit-7495b1da37ee7dd1a27361bd8bf0fe1ad77f0014.tar.xz
pkgsubmit-7495b1da37ee7dd1a27361bd8bf0fe1ad77f0014.zip
Show stats before the box, after the buttons
-rw-r--r--js/pkgsubmit.js11
1 files changed, 5 insertions, 6 deletions
diff --git a/js/pkgsubmit.js b/js/pkgsubmit.js
index 48b51dd..1a27f43 100644
--- a/js/pkgsubmit.js
+++ b/js/pkgsubmit.js
@@ -228,12 +228,11 @@ function show_log_file(ev) {
$("#" + cId).toggle();
})
)
- )
- .after(
- $("<p />", {
- class: "stats",
- html: events_log.report()
- })
+ .append($("<p />", {
+ class: "stats",
+ html: events_log.report()
+ })
+ )
)
.animate({ scrollTop: $("#" + elId).prop("scrollHeight") }, 1000);
}