<commit_before>;(function($){

$(function() {

    var sameShipping = $('#id_same_billing_shipping');

    // show/hide shipping fields on change of "same as" checkbox and call on load
    sameShipping.change(function() {
        $('#shipping_fields')[sameShipping.attr('checked') ? 'hide' : 'show']();
    }).change();

});

})(jQuery);
<commit_msg>fix #258: shipping_fields.js is broken starting from jquery 1.9<commit_after>;(function($){

$(function() {

    var sameShipping = $('#id_same_billing_shipping');

    // show/hide shipping fields on change of "same as" checkbox and call on load
    sameShipping.change(function() {
        $('#shipping_fields')[sameShipping.prop('checked') ? 'hide' : 'show']();
    }).change();

});

})(jQuery);

{'fraction_non_alphanumeric': 0.18666666666666668, 'fraction_numerical': 0.006666666666666667, 'mean_word_length': 4.251748251748252, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7585063', 'n_tokens_mistral': 243, 'n_tokens_neox': 234, 'n_words': 56}