Anonymous

MediaWiki:Common.js: Difference between revisions

From Melvor Idle
no edit summary
No edit summary
No edit summary
Line 556: Line 556:
function getItem(key) {
function getItem(key) {
let keydata = localStorage.getItem(key);
let keydata = localStorage.getItem(key);
if (keydata == "undefined") return undefined;
if (keydata == "undefined") {
return undefined;
}
return keydata;
return keydata;
}
}