Implemented multi-move possibility in a moves list => better support for multi-moves...
[vchess.git] / client / src / components / UpsertUser.vue
index eb1b6c2..50b702d 100644 (file)
@@ -11,7 +11,7 @@ div
     .card
       label.modal-close(for="modalUser")
       h3.section {{ st.tr[stage] }}
-      form(@submit.prevent="onSubmit()" @keyup.enter="onSubmit()")
+      div(@keyup.enter="onSubmit()")
         div(v-show="stage!='Login'")
           fieldset
             label(for="username") {{ st.tr["User name"] }}
@@ -151,7 +151,7 @@ export default {
         error = checkNameEmail({ [type]: this.nameOrEmail });
       } else error = checkNameEmail(this.st.user);
       if (error) {
-        alert(error);
+        alert(this.st.tr[error]);
         return;
       }
       this.infoMsg = "Processing... Please wait";
@@ -181,7 +181,7 @@ export default {
 
 <style lang="sass" scoped>
 [type="checkbox"].modal+div .card
-  max-width: 370px
+  max-width: 450px
   max-height: 100%
 
 #dialog