mirror of
https://github.com/kiwix/kiwix-js.git
synced 2025-09-22 12:01:15 -04:00
Fix the lifetime of the cookie used to warn the users of Peak devices
Fixes #61
This commit is contained in:
parent
bf501d721a
commit
27a32a453a
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user