Merge pull request #1632 from ether/enable-buttons-reconnect

Enable buttons reconnect
This commit is contained in:
John McLear 2013-03-16 10:58:27 -07:00
commit 755965d904
2 changed files with 2 additions and 15 deletions

View File

@ -76,7 +76,6 @@ var padconnectionstatus = (function()
}, },
isFullyConnected: function() isFullyConnected: function()
{ {
padmodals.hideOverlay();
return status.what == 'connected'; return status.what == 'connected';
}, },
getStatus: function() getStatus: function()

View File

@ -40,22 +40,10 @@ var padmodals = (function()
}); });
}, },
showOverlay: function(duration) { showOverlay: function(duration) {
$("#overlay").show().css( $("#overlay").show();
{
'opacity': 0
}).animate(
{
'opacity': 1
}, duration);
}, },
hideOverlay: function(duration) { hideOverlay: function(duration) {
$("#overlay").animate( $("#overlay").hide();
{
'opacity': 0
}, duration, function()
{
$("#modaloverlay").hide();
});
} }
}; };
return self; return self;