diff options
author | Shaun McCance <shaunm@gnome.org> | 2011-04-16 13:54:01 -0400 |
---|---|---|
committer | Shaun McCance <shaunm@gnome.org> | 2011-04-16 13:54:01 -0400 |
commit | 7cb2fda21c2d29cbbb93dfc2b24488feba22747d (patch) | |
tree | 994e531afc06cd132d6ee9723b8d885f0cd9e415 | |
parent | 8603ba3a1042e962cbc70e3a1c769f7bfc78e404 (diff) | |
download | yelp-7cb2fda21c2d29cbbb93dfc2b24488feba22747d.tar.gz |
yelp-common.xsl: Do custom JS right, changes from yelp-xsl
-rw-r--r-- | stylesheets/yelp-common.xsl.in | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/stylesheets/yelp-common.xsl.in b/stylesheets/yelp-common.xsl.in index 455fcd78..ef278517 100644 --- a/stylesheets/yelp-common.xsl.in +++ b/stylesheets/yelp-common.xsl.in @@ -94,7 +94,10 @@ div.body { <!-- == html.js.custom == --> <xsl:template name="html.js.custom"> <script type="text/javascript" language="javascript" src="@DATADIR@/jquery-ui-1.8.custom.min.js"/> -<script type="text/javascript" language="javascript"> +</xsl:template> + +<!-- == html.js.content.custom == --> +<xsl:template name="html.js.content.custom"> <xsl:text> $(document).ready (function () { if (location.hash != '') { @@ -111,7 +114,6 @@ $(document).ready (function () { } }); </xsl:text> -</script> </xsl:template> </xsl:stylesheet> |