diff --git a/app/assets/javascripts/landing.js b/app/assets/javascripts/landing.js index 0a3408cf..73dd1116 100644 --- a/app/assets/javascripts/landing.js +++ b/app/assets/javascripts/landing.js @@ -75,6 +75,13 @@ } }); + $('.center-panel-wrapper').on ('keypress', '.meeting-name', function (event) { + if (event.keyCode === 13) { + event.preventDefault(); + $('.meeting-start').click(); + } + }); + $('.center-panel-wrapper').on ('click', '.meeting-end', function (event) { var jqxhr = Meeting.getInstance().endMeeting(); var btn = $(this); diff --git a/app/assets/stylesheets/main/landing.scss b/app/assets/stylesheets/main/landing.scss index 79bf61f7..b68180d3 100644 --- a/app/assets/stylesheets/main/landing.scss +++ b/app/assets/stylesheets/main/landing.scss @@ -14,6 +14,11 @@ // You should have received a copy of the GNU Lesser General Public License along // with BigBlueButton; if not, see . +.meeting-url-button-group { + padding-top: 5px; + width: 100px; +} + .previously-joined { list-style-type: none; margin:auto; @@ -48,12 +53,6 @@ } } } - - .meeting-url-button-group { - padding-top: 5px; - width: 100px; - } - } .img-thumbnail{ diff --git a/app/views/shared/_meeting_url.html.erb b/app/views/shared/_meeting_url.html.erb index d2dd0e4c..cf5c7ce2 100644 --- a/app/views/shared/_meeting_url.html.erb +++ b/app/views/shared/_meeting_url.html.erb @@ -14,59 +14,34 @@ %>