fix inverted conditional :/

This commit is contained in:
ansuz
2017-05-31 18:15:31 +02:00
parent 2e03485db4
commit 7b94106bac

View File

@@ -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;
}