[yelp-xsl] mal2html-facets: Fix facet-handling, broken by HTML changes
- From: Shaun McCance <shaunm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [yelp-xsl] mal2html-facets: Fix facet-handling, broken by HTML changes
- Date: Sun, 19 Feb 2012 16:31:24 +0000 (UTC)
commit 3a350d3d39b925ea3a1ff1e713f9efad5a99d88c
Author: Shaun McCance <shaunm gnome org>
Date: Sun Feb 19 11:30:48 2012 -0500
mal2html-facets: Fix facet-handling, broken by HTML changes
xslt/mallard/html/mal2html-facets.xsl | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/xslt/mallard/html/mal2html-facets.xsl b/xslt/mallard/html/mal2html-facets.xsl
index 63c3c7d..8d39bff 100644
--- a/xslt/mallard/html/mal2html-facets.xsl
+++ b/xslt/mallard/html/mal2html-facets.xsl
@@ -135,7 +135,7 @@ $(document).ready(function () {
var content = control.closest('div.body,div.sect');
content.find('a.facet').each(function () {
var link = $(this);
- var facets = link.parents('div.body,div.sect').children('div.contents').children('div.facets').children('div.facet');
+ var facets = link.parents('div.body,div.sect').children('div.region').children('div.contents').children('div.facets').children('div.facet');
var visible = true;
for (var i = 0; i < facets.length; i++) {
var facet = facets.slice(i, i + 1);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]