Move user options to localStorage instead of cookies
This commit is contained in:
parent
a1862496a9
commit
685358b0d8
2 changed files with 24 additions and 17 deletions
|
|
@ -1142,7 +1142,7 @@ function showUserOpts() {
|
|||
|
||||
function saveOpts() {
|
||||
for(var key in USEROPTS) {
|
||||
createCookie("cytube_"+key, USEROPTS[key], 100);
|
||||
localStorage.setItem(key, USEROPTS[key]);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue