Index: trunk/extensions/FundraiserPortal/Templates/donateScripts.js |
— | — | @@ -38,11 +38,9 @@ |
39 | 39 | } |
40 | 40 | } |
41 | 41 | |
42 | | -jQuery( document ).ready( function() { |
43 | | - var wgDonateButton = getDonateButton(); |
| 42 | +var wgDonateButton = getDonateButton(); |
44 | 43 | |
45 | | - if ( ! wgDonateButton ) { |
46 | | - var wgDonateButton = pickDonateButton(); |
47 | | - setDonateButton( wgDonateButton ); |
48 | | - } |
49 | | -} ); |
| 44 | +if ( ! wgDonateButton ) { |
| 45 | + var wgDonateButton = pickDonateButton(); |
| 46 | + setDonateButton( wgDonateButton ); |
| 47 | +} |