summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEvangelos Foutras <evangelos@foutrelis.com>2012-10-06 23:11:15 +0300
committerDan McGee <dan@archlinux.org>2012-10-08 09:06:01 -0500
commitddb7f4825f8bf70142735a5ba2f7729ffe5d27c1 (patch)
treeb340ff1a9bc73b51d1e71b4f7f08773589f06d39
parent627a3567271122c7a9e71b692538863aef69fda5 (diff)
downloadarchweb-ddb7f4825f8bf70142735a5ba2f7729ffe5d27c1.tar.gz
archweb-ddb7f4825f8bf70142735a5ba2f7729ffe5d27c1.zip
archweb.js: Fix syntax error in filter_signoffs()release_2012-10-08
Commit 1decbc079ff8ab9798cef0ca02310357f8f4ba0c "JSLint suggested script cleanups" mistakenly removed the closing brace and parenthesis of a jQuery .each() call, along with a following comment. This commit brings back the two removed lines. Signed-off-by: Evangelos Foutras <evangelos@foutrelis.com> Signed-off-by: Dan McGee <dan@archlinux.org>
-rw-r--r--sitestatic/archweb.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/sitestatic/archweb.js b/sitestatic/archweb.js
index d49665a4..a0c5713a 100644
--- a/sitestatic/archweb.js
+++ b/sitestatic/archweb.js
@@ -417,6 +417,8 @@ function filter_signoffs() {
if (!$(this).is(':checked')) {
rows = rows.not('.' + $(this).val());
}
+ });
+ /* and then the slightly more expensive pending check */
if ($('#id_pending').is(':checked')) {
rows = rows.has('td.signoff-no');
}