Ver código fonte

Remove capitals from Contactus

master
Brian Conway 2 anos atrás
pai
commit
cfe506cdd6

+ 1
- 2
public/css/newStyle.css Ver arquivo

@@ -1098,8 +1098,7 @@ h4 {
1098 1098
     border: 2px solid #1b75bb;
1099 1099
     box-shadow: none;
1100 1100
     font-size: 15px;
1101
-    color: #1b75bb;
1102
-    text-transform: uppercase;
1101
+    color: black;
1103 1102
 }
1104 1103
 
1105 1104
 #contact .form button[type="submit"] {

+ 6
- 6
src/components/shared/contactUsSection.vue Ver arquivo

@@ -95,11 +95,11 @@ export default {
95 95
   data() {
96 96
     return {
97 97
       alertMsg: "Sent! You can expect a reply soon!",
98
-      name: null,
99
-      email: null,
100
-      phone: null,
101
-      property: null,
102
-      message: null,
98
+      name: '',
99
+      email: '',
100
+      phone: '',
101
+      property: '',
102
+      message: '',
103 103
       boolSent: false,
104 104
       errorOccurred: "",
105 105
       errorMessage: "",
@@ -179,7 +179,7 @@ export default {
179 179
     },
180 180
     validEmail : function(temail) {
181 181
         var re = /(.+)@(.+){2,}\.(.+){2,}/;
182
-        return re.test(temail);
182
+        return re.test(temail.toLowerCase());
183 183
     }
184 184
   }
185 185
 };

Carregando…
Cancelar
Salvar