fix 'undefined/' userHash
parent
401e908963
commit
105e5cdac9
|
@ -246,7 +246,7 @@ define([
|
|||
var getUserHash = common.getUserHash = function () {
|
||||
var hash = localStorage[userHashKey];
|
||||
|
||||
if (hash) {
|
||||
if (hash && ['undefined', 'undefined/'].indexOf(hash) !== -1) {
|
||||
var sHash = common.serializeHash(hash);
|
||||
if (sHash !== hash) { localStorage[userHashKey] = sHash; }
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue