diff options
author | Dan McGee <dan@archlinux.org> | 2014-12-02 14:48:16 -0600 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2014-12-02 14:48:16 -0600 |
commit | e12f88f1d6ab15dd4fbd828f4c2689657bcfa5a2 (patch) | |
tree | c128d73d9b6a498601d16b7b0efa08d8d563bac3 /sitestatic | |
parent | c904c093693c49436a0d5cedd23b4fd4b8b70438 (diff) |
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>
Diffstat (limited to 'sitestatic')
-rw-r--r-- | sitestatic/archweb.js | 4 |
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; } |