Commit dacd45d0a0dc1d75eb322095b104e49b05c68277

Authored by Виталий
1 parent ea788ff1

git

Showing 1 changed file with 9 additions and 11 deletions   Show diff stats
frontend/views/tender/view.php
@@ -390,17 +390,15 @@ @@ -390,17 +390,15 @@
390 function tabs_() 390 function tabs_()
391 { 391 {
392 $('.tabs_list').css('display', 'block') 392 $('.tabs_list').css('display', 'block')
393 -// if(location.hash=='#tabs_2') {  
394 -// $('._tabs').css({display : 'block'})  
395 -// $('._tabs:first-child').css({display : 'none'})  
396 -// $('.tabs_list ul li').addClass('active')  
397 -// $('.tabs_list ul li:first-child').removeClass('active')  
398 -// } else {  
399 -// $('._tabs').css({display : 'none'})  
400 -// $('._tabs:first-child').css({display : 'block'})  
401 -// }  
402 - $('._tabs').css({display : 'none'})  
403 - $('._tabs:first-child').css({display : 'block'}) 393 + if(location.hash=='#tabs_2') {
  394 + $('._tabs').css({display : 'block'})
  395 + $('._tabs:first-child').css({display : 'none'})
  396 + $('.tabs_list ul li').addClass('active')
  397 + $('.tabs_list ul li:first-child').removeClass('active')
  398 + } else {
  399 + $('._tabs').css({display : 'none'})
  400 + $('._tabs:first-child').css({display : 'block'})
  401 + }
404 402
405 $('.tabs_list ul li').click( 403 $('.tabs_list ul li').click(
406 function() 404 function()