mirror of
https://github.com/kennethreitz-archive/gitx.git
synced 2026-06-05 23:40:18 +00:00
Remove the isReachable test for gravatar.com
If there is no network connection then the reachability test will take the system default time (90 seconds I think?) to time out. During this time the UI is blocked (spinning beach ball). The test was being done even if gravatar use was turned off. It doesn't really matter if the site is unreachable, the image will not load but that's not a big deal.
This commit is contained in:
@@ -129,9 +129,6 @@ var gistie = function() {
|
||||
}
|
||||
|
||||
var setGravatar = function(email, image) {
|
||||
if (Controller && !Controller.isReachable_("www.gravatar.com"))
|
||||
return;
|
||||
|
||||
if(Controller && !Controller.isFeatureEnabled_("gravatar")) {
|
||||
image.src = "";
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user