remove force
This commit is contained in:
parent
ee1d422c87
commit
96782fac3f
@ -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'];
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user