Skip to content
This repository has been archived by the owner on Nov 27, 2022. It is now read-only.

Commit

Permalink
Added: null check refs #184
Browse files Browse the repository at this point in the history
  • Loading branch information
mallowlabs committed Apr 22, 2014
1 parent 0099dfa commit fe4e767
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/assets/javascripts/room.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ $(function() {
var textcompleting = $(".dropdown-menu").is(":visible");
if (!textcompleting) {
var message = $('textarea#message').val();
if (message == '') {
if (message == '' || message == null) {
return;
}
if (connected) {
Expand Down

0 comments on commit fe4e767

Please sign in to comment.