andre 4 år sedan
förälder
incheckning
16456d5559
1 ändrade filer med 4 tillägg och 5 borttagningar
  1. 4 5
      js/scripts.js

+ 4 - 5
js/scripts.js

@@ -3816,23 +3816,22 @@ function validate_captcha(form)
 }
 }
 
 
 function updateProductTotalMessage(billingcycle) {
 function updateProductTotalMessage(billingcycle) {
-    console.log(billingcycle);
     switch(billingcycle) {
     switch(billingcycle) {
         case 'monthly':
         case 'monthly':
+            console.log("init: " + billingcycle);
             jQuery('#producttotalmessage').html('Monatlich');
             jQuery('#producttotalmessage').html('Monatlich');
             break;
             break;
         case 'quarterly':
         case 'quarterly':
+            console.log("init: " + billingcycle);
             jQuery('#producttotalmessage').html('4teljährlich');
             jQuery('#producttotalmessage').html('4teljährlich');
-            console.log("Test");
             break;
             break;
         case 'semiannually':
         case 'semiannually':
+            console.log("init: " + billingcycle);
             jQuery('#producttotalmessage').html('Halbjährlich');
             jQuery('#producttotalmessage').html('Halbjährlich');
             break;
             break;
         case 'annually':
         case 'annually':
+            console.log("init: " + billingcycle);
             jQuery('#producttotalmessage').html('Jährlich');
             jQuery('#producttotalmessage').html('Jährlich');
             break;
             break;
     }
     }
 }
 }
-$( document ).ready(function() {
-    updateProductTotalMessage('monthly');
-});