Fix the lifetime of the cookie used to warn the users of Peak devices

Fixes #61
This commit is contained in:
mossroy 2013-08-25 10:06:08 +02:00
parent bf501d721a
commit 27a32a453a

View File

@ -321,7 +321,7 @@ define(function(require) {
+ "The update to 1.1 should be soon automatically deployed by Geeksphone. "
+ "NB : This message will not be displayed again");
// We will not display this warning any more
cookies.setItem("warnedPeak101",true);
cookies.setItem("warnedPeak101", true, Infinity);
}
}