fallback on cookies if localStorage is null or undefined
This commit is contained in:
parent
91a2fcb61d
commit
6a6dd7bc21
2 changed files with 11 additions and 2 deletions
|
|
@ -507,7 +507,7 @@ function showOptionsMenu() {
|
|||
|
||||
function saveOpts() {
|
||||
for(var key in USEROPTS) {
|
||||
localStorage.setItem(key, USEROPTS[key]);
|
||||
setOpt(key, USEROPTS[key]);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue