function saveStorageTabs() {
let getUserData = localStorage.getItem('usersData');
let tabs = JSON.parse(getUserData);
let clientID = localStorage.getItem('IDClient');
$('.wizard .nav-tabs li a').on('show.bs.tab', function (e) {
tabs[clientID].activeTabs = $(e.target).attr('href');
console.log(tabs[clientID].activeTabs);
localStorage.setItem('usersData', JSON.stringify(tabs));
});
var $active = $('.wizard .nav-tabs li.active');
$active.next().removeClass('disabled');
nextTab($active);
}
Что не так? Ошибка в это строке
tabs[clientID].activeTabs = $(e.target).attr('href');