mirror of https://github.com/abpframework/abp.git
committed by
GitHub
1 changed files with 2 additions and 3 deletions
@ -1,10 +1,9 @@ |
|||||
$(function () { |
$(function () { |
||||
var hash = window.location.hash; |
if (window.location.hash === '#edit-profile'){ |
||||
if(hash === '#edit-profile'){ |
|
||||
$('#all-posts-tab').removeClass('active'); |
$('#all-posts-tab').removeClass('active'); |
||||
$('#all-posts').removeClass('show').removeClass('active'); |
$('#all-posts').removeClass('show').removeClass('active'); |
||||
$('#edit-profile-tab').addClass('active'); |
$('#edit-profile-tab').addClass('active'); |
||||
$('#edit-profile').addClass('show').addClass('active'); |
$('#edit-profile').addClass('show').addClass('active'); |
||||
window.location.hash = ''; |
window.location.hash = ''; |
||||
} |
} |
||||
}); |
}); |
||||
|
|||||
Loading…
Reference in new issue