curator-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From randg...@apache.org
Subject [36/52] [abbrv] git commit: wip
Date Wed, 27 Mar 2013 01:11:31 GMT
wip


Project: http://git-wip-us.apache.org/repos/asf/incubator-curator/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-curator/commit/3177dfbc
Tree: http://git-wip-us.apache.org/repos/asf/incubator-curator/tree/3177dfbc
Diff: http://git-wip-us.apache.org/repos/asf/incubator-curator/diff/3177dfbc

Branch: refs/heads/master
Commit: 3177dfbcfd602d8d70de0cb65c4a728f9bfedd64
Parents: 5e35201
Author: Jordan Zimmerman <jordan@jordanzimmerman.com>
Authored: Mon Mar 11 11:31:18 2013 -0700
Committer: Jordan Zimmerman <jordan@jordanzimmerman.com>
Committed: Mon Mar 11 11:31:18 2013 -0700

----------------------------------------------------------------------
 curator-recipes/src/site/site.xml |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-curator/blob/3177dfbc/curator-recipes/src/site/site.xml
----------------------------------------------------------------------
diff --git a/curator-recipes/src/site/site.xml b/curator-recipes/src/site/site.xml
index 19867f7..ff0ba51 100644
--- a/curator-recipes/src/site/site.xml
+++ b/curator-recipes/src/site/site.xml
@@ -23,7 +23,10 @@
             <link rel="stylesheet" href="../css/site.css" />
             <script type="text/javascript">
                 $(function(){
-                    $('a[title="Recipes"]').parent().addClass("active");
+                    if ( location.pathname.match(".*index\.html") )
+                    {
+                        $('a[title="Recipes"]').parent().addClass("active");
+                    }
                 });
             </script>
         </head>


Mime
View raw message