button class="number" data-num="' + key + '">' + cart[key] + 'button;
button class="plus" data-art="' + key + '" +button;
function plus() {
var articul = $(this).attr('data-art');
if (isNaN(cart[articul])) {
cart[articul]++;
}
else {
cart[articul] = 1;
}
localStorage.setItem('cart', JSON.stringify(cart));
loadGoods();
}