don't change cookie name

This commit is contained in:
Thibault Duplessis 2013-06-11 12:44:41 +02:00
parent 3d4f024ebd
commit d1b4f03457

View file

@ -2499,7 +2499,7 @@ var lichess_sri = Math.random().toString(36).substring(5); // 8 chars
setTimeout(function() {
// remove deprecated cookies
if (!localStorage.getItem('uncook')) {
_.each(['wsok', 'surl', 'c960', 'lt', 'lila', 'lila2'], function(name) {
_.each(['wsok', 'surl', 'c960', 'lt', 'lila'], function(name) {
document.cookie = name + '=;domain=.l.org;path=/;expires=Thu, 01 Jan 1970 00:00:01 GMT;';
});
localStorage.setItem('uncook', 1);