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 2016/05/03 21:09:29 UTC

curator git commit: make sure correct menu item is selected

Repository: curator
Updated Branches:
  refs/heads/CURATOR-322 5730f21f9 -> 032af453e


make sure correct menu item is selected


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

Branch: refs/heads/CURATOR-322
Commit: 032af453ef2a4b4ce1bfc22e40c8712676c98234
Parents: 5730f21
Author: randgalt <ra...@apache.org>
Authored: Tue May 3 14:00:12 2016 -0500
Committer: randgalt <ra...@apache.org>
Committed: Tue May 3 14:00:12 2016 -0500

----------------------------------------------------------------------
 curator-framework/src/site/site.xml | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/curator/blob/032af453/curator-framework/src/site/site.xml
----------------------------------------------------------------------
diff --git a/curator-framework/src/site/site.xml b/curator-framework/src/site/site.xml
index 38d877a..4a66e87 100644
--- a/curator-framework/src/site/site.xml
+++ b/curator-framework/src/site/site.xml
@@ -25,7 +25,11 @@
             <link rel="stylesheet" href="../css/site.css" />
             <script type="text/javascript">
                 $(function(){
-                    $('a[title="Framework"]').parent().addClass("active");
+                    if ( location.pathname.endsWith('schema.html') ) {
+                        $('a[title="Schema Support"]').parent().addClass("active");
+                    } else {
+                        $('a[title="Framework"]').parent().addClass("active");
+                    }
                 });
             </script>
         </head>