Skip to content

Commit

Permalink
disable send form after disconnect
Browse files Browse the repository at this point in the history
  • Loading branch information
jmesnil committed Feb 7, 2010
1 parent 1b07219 commit 8020338
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions example/chat/chat.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ $(document).ready(function(){
client.disconnect(function() {
$('#disconnect').fadeOut({ duration: 'fast' });
$('#connect').fadeIn();
$('#send_form_input').addAttr('disabled');
});
return false;
});
Expand Down

0 comments on commit 8020338

Please sign in to comment.