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>
This commit is contained in:
Dan McGee 2014-12-02 14:48:16 -06:00
parent c904c09369
commit e12f88f1d6

View File

@ -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;
}