diff --git a/static/js/directives/roombar.js b/static/js/directives/roombar.js index e8b44347..7077266e 100644 --- a/static/js/directives/roombar.js +++ b/static/js/directives/roombar.js @@ -42,12 +42,6 @@ define(['underscore', 'angular', 'text!partials/roombar.html'], function(_, angu } }; - $scope.hitEnter = function(evt) { - if (angular.equals(evt.keyCode, 13)) { - $scope.save(); - } - }; - $scope.exit = function() { $scope.newRoomName = ""; $scope.save(); diff --git a/static/partials/roombar.html b/static/partials/roombar.html index ca8e94b9..5c7e66d8 100644 --- a/static/partials/roombar.html +++ b/static/partials/roombar.html @@ -4,7 +4,7 @@
- +