Update Main.tpl
authorMarty Wright <marty.wright@comcast.net>
Fri, 20 Nov 2015 04:57:01 +0000 (21:57 -0700)
committerMarty Wright <marty.wright@comcast.net>
Fri, 20 Nov 2015 04:57:01 +0000 (21:57 -0700)
Combined CRM.$(function($) {...}) blocks.

templates/CRM/Contribute/Form/Contribution/Main.tpl

index cedaab15a1cddf4817196b5c77334349b8b9191e..7313c15ae7d3050775d1227e652001b2f92d83ea 100644 (file)
     }
 
     $('#pricevalue').each(toggleBillingBlockIfFree).on('change', toggleBillingBlockIfFree);
-  });
-
-  CRM.$(function($) {
+  
     // Update pledge contribution amount when pledge checkboxes change
     $("input[name^='pledge_amount']").on('change', function() {
       var total = 0;