0

hotfix: длительность хранения cookies

This commit is contained in:
2016-03-31 11:11:36 +03:00
parent 88f7905495
commit 710a3dbda2

View File

@@ -118,7 +118,7 @@
save_data.season = parseInt(player.attr('data-season'), 10); save_data.season = parseInt(player.attr('data-season'), 10);
save_data.serial = parseInt(player.attr('data-serial'), 10); save_data.serial = parseInt(player.attr('data-serial'), 10);
} }
Cookies.set(path, save_data); Cookies.set(path, save_data, { expires: 365 });
tl = tc; tl = tc;
console.debug(save_data); console.debug(save_data);
} }