HBASE-24496 The tag of Base Stats not actived by default in table.jsp (#1837)

Signed-off-by: clarax
Signed-off-by: Viraj Jasani <vjasani@apache.org>
This commit is contained in:
bsglz 2020-06-06 21:45:37 +08:00 committed by Viraj Jasani
parent 3c0a250e58
commit 0c9806faec
No known key found for this signature in database
GPG Key ID: 3AE697641452FC5D
2 changed files with 2 additions and 2 deletions

View File

@ -22,7 +22,7 @@
<script src="/static/js/tab.js" type="text/javascript"></script> <script src="/static/js/tab.js" type="text/javascript"></script>
<script type="text/javascript"> <script type="text/javascript">
$(document).ready(function() { $(document).ready(function() {
$('li.active').removeClass('active'); $('div.navbar li.active').removeClass('active');
$('a[href="' + location.pathname + '"]').closest('li').addClass('active'); $('a[href="' + location.pathname + '"]').closest('li').addClass('active');
}); });
</script> </script>

View File

@ -22,7 +22,7 @@
<script src="/static/js/tab.js" type="text/javascript"></script> <script src="/static/js/tab.js" type="text/javascript"></script>
<script type="text/javascript"> <script type="text/javascript">
$(document).ready(function() { $(document).ready(function() {
$('li.active').removeClass('active'); $('div.navbar li.active').removeClass('active');
$('a[href="' + location.pathname + '"]').closest('li').addClass('active'); $('a[href="' + location.pathname + '"]').closest('li').addClass('active');
}); });
</script> </script>