From 2418215dd9a23c69142fa42481556554413d4a7e Mon Sep 17 00:00:00 2001 From: Веталь Date: Wed, 4 May 2016 13:56:15 +0300 Subject: [PATCH] git --- frontend/views/tender/view.php | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/frontend/views/tender/view.php b/frontend/views/tender/view.php index 220b330..6969ff5 100755 --- a/frontend/views/tender/view.php +++ b/frontend/views/tender/view.php @@ -389,10 +389,17 @@ function tabs_() { - console.log(location.hash) $('.tabs_list').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