andre 4 лет назад
Родитель
Сommit
58517d4000
1 измененных файлов с 3 добавлено и 4 удалено
  1. 3 4
      js/scripts.js

+ 3 - 4
js/scripts.js

@@ -3631,7 +3631,7 @@ function updateConfigurableOptions(i, billingCycle) {
         }
     );
     recalctotals();
-    updateProductTotalMessage(billingCycle);
+    updateProductTotalMessage();
 }
 
 function recalctotals() {
@@ -3815,9 +3815,8 @@ function validate_captcha(form)
     });
 }
 
-function updateProductTotalMessage(billingcycle) {
-    console.log(billingcycle);
-    if (billingcycle == 'annually') {
+function updateProductTotalMessage() {
+    if (billingCycle == 'annually') {
         jQuery('#producttotalmessage').html('Test');
     }
 }