Explorar el Código

Fixed press enter to log in.

KrisVos130 hace 8 años
padre
commit
8f7293194e
Se han modificado 1 ficheros con 3 adiciones y 1 borrados
  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 () {