diff --git a/browserid/static/dialog/controllers/page_controller.js b/browserid/static/dialog/controllers/page_controller.js
index 8fd92ca2b9d40df084dd6297b788911ff9bb709f..cede8db0493b375f582df4d933253593ab9c89f8 100644
--- a/browserid/static/dialog/controllers/page_controller.js
+++ b/browserid/static/dialog/controllers/page_controller.js
@@ -37,13 +37,12 @@
         var footerHtml = $.View("//dialog/views/" + footer, footer_vars);
         $("#bottom-bar").html(footerHtml);
       }
-      setupEnterKey();
     },
 
     onSubmit: function(event) {
       event.stopPropagation();
       event.preventDefault();
-      if(this.validate()) {
+      if (this.validate()) {
         this.submit();
       }
       return false;
@@ -63,7 +62,7 @@
 
     close: function(message, data) {
       this.destroy();
-      if(message) {
+      if (message) {
         this.publish(message, data);
       }
     },
@@ -94,13 +93,4 @@
 
   });
 
-  function setupEnterKey() {
-    $("input").keyup(function(e) {
-      if(e.which == 13) {
-        e.preventDefault();
-        $(".submit").click();
-      }
-    });
-  }
-
 }());