Fix to tabs in upload
This commit is contained in:
parent
4285aff671
commit
e93c3588f9
1 changed files with 2 additions and 2 deletions
|
@ -1,10 +1,10 @@
|
|||
$(function()
|
||||
{
|
||||
$('.tabs nav a').click(function(e)
|
||||
$('.tabs a').click(function(e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var className = $(this).parents('li').attr('class').replace('selected', '').replace(/^\s+|\s+$/, '');
|
||||
$('.tabs nav li').removeClass('selected');
|
||||
$('.tabs li').removeClass('selected');
|
||||
$(this).parents('li').addClass('selected');
|
||||
$('.tab').hide();
|
||||
$('.tab.' + className).show();
|
||||
|
|
Loading…
Reference in a new issue