fix inverted conditional :/
This commit is contained in:
@@ -246,7 +246,7 @@ define([
|
|||||||
var getUserHash = common.getUserHash = function () {
|
var getUserHash = common.getUserHash = function () {
|
||||||
var hash = localStorage[userHashKey];
|
var hash = localStorage[userHashKey];
|
||||||
|
|
||||||
if (['undefined', 'undefined/'].indexOf(hash) === -1) {
|
if (['undefined', 'undefined/'].indexOf(hash) !== -1) {
|
||||||
localStorage.removeItem(userHashKey);
|
localStorage.removeItem(userHashKey);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user