[yelp] [stylesheets] Update JS fragment highlighter for yelp-xsl changes
- From: Shaun McCance <shaunm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [yelp] [stylesheets] Update JS fragment highlighter for yelp-xsl changes
- Date: Tue, 8 Jun 2010 21:23:59 +0000 (UTC)
commit 8e0828bf5a0320ee3b21fb268e04206c41a30d07
Author: Shaun McCance <shaunm gnome org>
Date: Tue Jun 8 16:23:32 2010 -0500
[stylesheets] Update JS fragment highlighter for yelp-xsl changes
stylesheets/mal2html.xsl.in | 2 +-
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 f5a934b..fb623e2 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 306ce44..9aa0415 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>'
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]