Update Index.js

pull/16503/head
Alper Ebiçoğlu 2 years ago committed by GitHub
parent 2c3653aff3
commit 083ee84e40
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,10 +1,9 @@
$(function () {
var hash = window.location.hash;
if(hash === '#edit-profile'){
if (window.location.hash === '#edit-profile'){
$('#all-posts-tab').removeClass('active');
$('#all-posts').removeClass('show').removeClass('active');
$('#edit-profile-tab').addClass('active');
$('#edit-profile').addClass('show').addClass('active');
window.location.hash = '';
}
});
});

Loading…
Cancel
Save