You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@curator.apache.org by ra...@apache.org on 2013/03/27 02:11:31 UTC

[36/52] [abbrv] git commit: wip

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 <jo...@jordanzimmerman.com>
Authored: Mon Mar 11 11:31:18 2013 -0700
Committer: Jordan Zimmerman <jo...@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>