diff options
author | Shaun McCance <shaunm@gnome.org> | 2010-06-08 16:23:32 -0500 |
---|---|---|
committer | Shaun McCance <shaunm@gnome.org> | 2010-06-08 16:23:32 -0500 |
commit | 8e0828bf5a0320ee3b21fb268e04206c41a30d07 (patch) | |
tree | a54fbdd8282bf14c03394e8e9122373d6ea84695 | |
parent | 885494dc58e61b5421858bea8ffa3b1e5968aea4 (diff) | |
download | yelp-8e0828bf5a0320ee3b21fb268e04206c41a30d07.tar.gz |
[stylesheets] Update JS fragment highlighter for yelp-xsl changes
-rw-r--r-- | stylesheets/mal2html.xsl.in | 2 | ||||
-rw-r--r-- | stylesheets/yelp-common.xsl.in | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/stylesheets/mal2html.xsl.in b/stylesheets/mal2html.xsl.in index f5a934b2..fb623e2c 100644 --- a/stylesheets/mal2html.xsl.in +++ b/stylesheets/mal2html.xsl.in @@ -80,7 +80,7 @@ body, div.body { </xsl:if> </xsl:template> -<xsl:template name="mal2html.page.head.extra"> +<xsl:template name="html.head.custom"> <xsl:call-template name="yelp.common.javascript"/> </xsl:template> diff --git a/stylesheets/yelp-common.xsl.in b/stylesheets/yelp-common.xsl.in index 306ce446..9aa0415e 100644 --- a/stylesheets/yelp-common.xsl.in +++ b/stylesheets/yelp-common.xsl.in @@ -89,7 +89,7 @@ div.body { <xsl:text> $(document).ready (function () { if (location.hash != '') { - $('#' + location.hash).find('div.header').css({ + $('#' + location.hash).find('div.hgroup').css({ backgroundColor: '</xsl:text><xsl:value-of select="$color.yellow_background"/><xsl:text>' }).animate({ backgroundColor: '</xsl:text><xsl:value-of select="$color.gray_background"/><xsl:text>' |