From: Anthony Talarico Date: Thu, 27 Apr 2017 18:27:11 +0000 (-0400) Subject: fixing js selector in the page setup file for the poster form calculation X-Git-Tag: v1.0.15^2 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=34cb19112c1d0b407462a4c4ce923ff47e1d7efb;p=WP-Themes%2Fmackinacbridge.git fixing js selector in the page setup file for the poster form calculation needed to change the input selector id for the total field in the poster form --- diff --git a/js/app.js b/js/app.js index 5c80b93..21923f4 100644 --- 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(){ diff --git a/js/custom/pageSetup.js b/js/custom/pageSetup.js index 096a3dd..ace38df 100644 --- a/js/custom/pageSetup.js +++ b/js/custom/pageSetup.js @@ -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(){