jQuery(document).ready(function ($) {
    $('#BuildModal').on('show.bs.modal', function (event) {
        var button = $(event.relatedTarget);
        var recipient = button.data('build');
        var modal = $(this)
        modal.find('#build-link').attr('href', recipient);
    });
});

jQuery(document).ready(function ($) {
    $('#BuildModal').on('show.bs.modal', function (event) {
        var button = $(event.relatedTarget);
        var recipient = button.data('build');
        var modal = $(this);
        modal.find('#build-link').attr('href', recipient);
    });

    $('a.device-builds, #build-link').click(function() {
        ga('send', {
            hitType: 'event',
            eventCategory: 'FxOS Builds',
            eventAction: 'click'
        });
    });

});

Send GA event on FxOS build clicks.
Send GA event on FxOS build clicks.
