curator-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From randg...@apache.org
Subject curator git commit: make sure correct menu item is selected
Date Tue, 03 May 2016 19:09:29 GMT
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 <randgalt@apache.org>
Authored: Tue May 3 14:00:12 2016 -0500
Committer: randgalt <randgalt@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>


Mime
View raw message