fixing js selector in the page setup file for the poster form calculation
authorAnthony Talarico <talarico@gaslightmedia.com>
Thu, 27 Apr 2017 18:27:11 +0000 (14:27 -0400)
committerAnthony Talarico <talarico@gaslightmedia.com>
Thu, 27 Apr 2017 18:27:11 +0000 (14:27 -0400)
needed to change the input selector id for the total field in the poster form

js/app.js
js/custom/pageSetup.js

index 5c80b93..21923f4 100644 (file)
--- a/js/app.js
+++ b/js/app.js
@@ -91,8 +91,8 @@ $(document).ready(function () {
            price_total = qty_total * 10;
        }
         
-       $('#input_5_20').text('$' + price_total + '.00');
-       $('#input_5_20').val('$' + price_total + '.00');
+       $('#input_2_20').text('$' + price_total + '.00');
+       $('#input_2_20').val('$' + price_total + '.00');
     }
   
     $(window).on("load", function(){
index 096a3dd..ace38df 100644 (file)
@@ -82,8 +82,8 @@ $(document).ready(function () {
            price_total = qty_total * 10;
        }
         
-       $('#input_5_20').text('$' + price_total + '.00');
-       $('#input_5_20').val('$' + price_total + '.00');
+       $('#input_2_20').text('$' + price_total + '.00');
+       $('#input_2_20').val('$' + price_total + '.00');
     }
   
     $(window).on("load", function(){