Fix minor JavaScript defects

This commit is contained in:
Thomas Piccirello
2018-09-26 23:10:51 -04:00
committed by sledgehammer999
parent 82056355f6
commit 4923ed7da0
12 changed files with 871 additions and 872 deletions

View File

@@ -23,7 +23,7 @@ if (typeof localStorage == 'undefined') {
}
function getLocalStorageItem(name, defaultVal) {
val = localStorage.getItem(name);
var val = localStorage.getItem(name);
if (val === null || val === undefined)
val = defaultVal;
return val;