Browse Source

Update Index.js

pull/16503/head
Alper Ebiçoğlu 3 years ago
committed by GitHub
parent
commit
083ee84e40
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      modules/blogging/src/Volo.Blogging.Web/Pages/Members/Index.js

5
modules/blogging/src/Volo.Blogging.Web/Pages/Members/Index.js

@ -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…
Cancel
Save