diff --git a/frontend/views/tender/view.php b/frontend/views/tender/view.php index 4d4f0bc..2ec89b4 100755 --- a/frontend/views/tender/view.php +++ b/frontend/views/tender/view.php @@ -390,17 +390,15 @@ function tabs_() { $('.tabs_list').css('display', 'block') -// if(location.hash=='#tabs_2') { -// $('._tabs').css({display : 'block'}) -// $('._tabs:first-child').css({display : 'none'}) -// $('.tabs_list ul li').addClass('active') -// $('.tabs_list ul li:first-child').removeClass('active') -// } else { -// $('._tabs').css({display : 'none'}) -// $('._tabs:first-child').css({display : 'block'}) -// } - $('._tabs').css({display : 'none'}) - $('._tabs:first-child').css({display : 'block'}) + if(location.hash=='#tabs_2') { + $('._tabs').css({display : 'block'}) + $('._tabs:first-child').css({display : 'none'}) + $('.tabs_list ul li').addClass('active') + $('.tabs_list ul li:first-child').removeClass('active') + } else { + $('._tabs').css({display : 'none'}) + $('._tabs:first-child').css({display : 'block'}) + } $('.tabs_list ul li').click( function() -- libgit2 0.21.4