Skip to content

Commit

Permalink
bugfix: firefox fix broke the regular functionality. updating that.
Browse files Browse the repository at this point in the history
  • Loading branch information
unflores committed Mar 30, 2011
1 parent b81b83b commit c531d1c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions public/javascripts/environment.js
Expand Up @@ -63,7 +63,7 @@ Environment.prototype.attempt_reconnect = function() {
};

Environment.prototype.show_countdown = function() {
if($('#error_404')) return;
if($('#error_404').length == 1) return;
$('#reconnect').dialog('destroy').remove();
$(Views.reconnect( Math.ceil((this.reset_time + 1000) / 1000) )).dialog({
title: 'Connection Lost',
Expand All @@ -76,7 +76,7 @@ Environment.prototype.show_countdown = function() {
};

Environment.prototype.hide_countdown = function() {
if($('#error_404')) return;
if($('#error_404').length == 1) return;
$('#reconnect').dialog('destroy').remove();
$('<div id="reconnect">Reconnecting.<br/><div id="wait"></div></div>').dialog({
title: 'Connection Lost',
Expand Down

0 comments on commit c531d1c

Please sign in to comment.