Skip to content
Browse files

Change $ to jQuery for consistency

Since all other jQuery selectors using the jQuery (rather than $
shortcut), the two references to self have modified
  • Loading branch information...
1 parent eebb411 commit cafac862c41e5e9e734c034449d018a8aec9959b @1bigidea committed Mar 22, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 wpsc-core/js/wp-e-commerce.js
View
2 wpsc-core/js/wp-e-commerce.js
@@ -322,7 +322,7 @@ jQuery(document).ready(function ($) {
}
donation_price.val(response.numeric_price);
- buynow.find('input[name="'+$(self).prop('name')+'"]').val($(self).val());
+ buynow.find('input[name="'+jQuery(self).prop('name')+'"]').val(jQuery(self).val());
buynow.find('input.wpsc-buy-now-button').prop('disabled', false);
}
}, 'json');

0 comments on commit cafac86

Please sign in to comment.
Something went wrong with that request. Please try again.