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