Move user options to localStorage instead of cookies

This commit is contained in:
calzoneman 2013-06-05 17:22:50 -04:00
parent a1862496a9
commit 685358b0d8
2 changed files with 24 additions and 17 deletions

View file

@ -1142,7 +1142,7 @@ function showUserOpts() {
function saveOpts() {
for(var key in USEROPTS) {
createCookie("cytube_"+key, USEROPTS[key], 100);
localStorage.setItem(key, USEROPTS[key]);
}
}