* Fix light for product.

This commit is contained in:
liuruogu
2022-10-09 02:54:54 +00:00
parent 99921d5433
commit 599c798650
+1 -1
View File
@@ -7,7 +7,7 @@ $(function()
if(typeof(execution) != 'undefined') rawModule = 'projectstory';
if(['project', 'projectstory'].indexOf(rawModule) === -1 && app != 'qa')
{
if(app != 'my') $('#navbar .nav li[data-id!=story]').removeClass('active');
if(app != 'my') $('#navbar .nav li[data-id!=' + storyType + ']').removeClass('active');
$("#navbar .nav li[data-id=" + storyType + ']').addClass('active');
$('#subNavbar li[data-id="' + storyType + '"]').addClass('active');
if($('#navbar .nav>li[data-id=story] .dropdown-menu').length) $('#navbar .nav>li[data-id=story]>a').html($('.active [data-id=' + storyType + ']').text() + '<span class="caret"></span>');