summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2014-12-02 14:48:16 -0600
committerDan McGee <dan@archlinux.org>2014-12-02 14:48:16 -0600
commite12f88f1d6ab15dd4fbd828f4c2689657bcfa5a2 (patch)
treec128d73d9b6a498601d16b7b0efa08d8d563bac3
parentc904c093693c49436a0d5cedd23b4fd4b8b70438 (diff)
downloadarchweb-e12f88f1d6ab15dd4fbd828f4c2689657bcfa5a2.tar.gz
archweb-e12f88f1d6ab15dd4fbd828f4c2689657bcfa5a2.zip
Fix filtering of minor versions on differences page
This has been broken for a long time; looks like it happened when we switched over to using our standard details tag and no longer emit a <span/> element unconditionally. Signed-off-by: Dan McGee <dan@archlinux.org>
-rw-r--r--sitestatic/archweb.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/sitestatic/archweb.js b/sitestatic/archweb.js
index 0c4059a9..5f6e5e97 100644
--- a/sitestatic/archweb.js
+++ b/sitestatic/archweb.js
@@ -283,12 +283,12 @@ function filter_packages() {
var cells = $(this).children('td');
/* all this just to get the split version out of the table cell */
- var ver_a = cells.eq(2).find('span').text().match(pat);
+ var ver_a = cells.eq(2).text().match(pat);
if (!ver_a) {
return true;
}
- var ver_b = cells.eq(3).find('span').text().match(pat);
+ var ver_b = cells.eq(3).text().match(pat);
if (!ver_b) {
return true;
}