fix 'undefined/' userHash

pull/1/head
ansuz 8 years ago
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…
Cancel
Save