remove force

This commit is contained in:
arzynik 2012-07-17 00:57:40 -07:00
parent ee1d422c87
commit 96782fac3f

View File

@ -405,6 +405,10 @@ App.loadPage = function() {
loc = '/' + $.cookie('community');
} else if (closest.permalink) {
if (closest.distance > 10) {
location.href = '/landing';
return;
}
loc = '/' + closest.permalink;
} else {
@ -1139,9 +1143,6 @@ App.loc = {
closest = App.communities[x];
}
}
if (closest.distance > 10) {
location.href = '/landing';
}
return closest;
} catch (e) {
return App.communities['yale'];