diff --git a/public/js/vroom.js b/public/js/vroom.js index cf386af..cf6a2f3 100644 --- a/public/js/vroom.js +++ b/public/js/vroom.js @@ -1783,7 +1783,7 @@ function initVroom(room) { }); // Handle hangup/close window - $('#logoutButton').click(function(){ + $('.btn-logout').click(function(){ $('#quitModal').modal('show'); if (!$('#muteMicButton').is(':checked')){ muteMic(); @@ -1795,7 +1795,7 @@ function initVroom(room) { // Remove the active class on the logout button if // the modal is closed $('#quitModal').on('hide.bs.modal',function(){ - $('#logoutButton').removeClass('active'); + $('.btn-logout').removeClass('active'); if (!$('#muteMicButton').is(':checked')){ unmuteMic(); } diff --git a/templates/default/join.html.ep b/templates/default/join.html.ep index 2f5f7a0..1bee3b6 100644 --- a/templates/default/join.html.ep +++ b/templates/default/join.html.ep @@ -3,8 +3,18 @@