diff --git a/public/javascripts/chat.js b/public/javascripts/chat.js
index <HASH>..<HASH> 100644
--- a/public/javascripts/chat.js
+++ b/public/javascripts/chat.js
@@ -92,6 +92,9 @@ $(document).ready(function() {
         $('#room-list').append(divEscapedContentElement(room));
       }
     }
+    $('#room-list div').click(function() {
+      processCommand(socket, '/join ' + $(this).text())
+    });
   });
 
   setInterval(function() {
Added ability to change rooms by clicking on them.