Skip to content

Commit 7062d1e

Browse files
committed
(fix): Email check logic was inverted
1 parent 5699684 commit 7062d1e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

js/code.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,9 +72,9 @@
7272
}
7373

7474
if (email === '') {
75-
alert('Thanks, we have received your measurement request and will e-mail you shortly!', 'Success :)');
76-
} else {
7775
alert('Thanks, we have received your measurement request and can find your results on this page shortly!', 'Success :)');
76+
} else {
77+
alert('Thanks, we have received your measurement request and will e-mail you shortly!', 'Success :)');
7878
}
7979

8080
// reset form

0 commit comments

Comments
 (0)