fix inverted conditional :/

pull/1/head
ansuz 8 years ago
parent 2e03485db4
commit 7b94106bac

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

Loading…
Cancel
Save