custom.js
... ...
@@ -1,6 +1,6 @@
1 1
var sign_up_form = document.getElementById("tea-leaves-sign-up-form");
2 2
3
-when(sign_up_form) {
3
+if(sign_up_form) {
4 4
var script = document.createElement('script');
5 5
script.type = 'text/javascript';
6 6
script.async = true;