Browse Source

Fixed press enter to log in.

KrisVos130 8 years ago
parent
commit
8f7293194e
1 changed files with 3 additions and 1 deletions
  1. 3 1
      frontend/App.vue

+ 3 - 1
frontend/App.vue

@@ -54,7 +54,9 @@
 				});
 			},
 			'submitOnEnter': (cb, event) => {
-				if (event.which == 13) b(); return false;
+				if (event.which == 13) {
+					cb();
+				}
 			}
 		},
 		ready: function () {