Skip to content
This repository has been archived by the owner on Mar 15, 2018. It is now read-only.

Commit

Permalink
Revert me when jQuery 1.6.4 goes away
Browse files Browse the repository at this point in the history
`.on` isn't a function yet until 1.7.
  • Loading branch information
mattbasta committed Feb 22, 2013
1 parent 16f55d0 commit 84422ef
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions media/js/zamboni/devhub.js
Expand Up @@ -328,7 +328,7 @@ function initUploadControls() {
}

function initPlatformChooser() {
$('input.platform').on('change', function(e) {
$('input.platform').live('change', function(e) {
var form = $(this).parents('form'),
platform = false,
parent = form,
Expand Down Expand Up @@ -386,7 +386,7 @@ $(document).ready(function() {

initCompatibility();

$('.addon-edit-cancel').on('click', function(){
$('.addon-edit-cancel').live('click', function(){
parent_div = $(this).closest('.edit-addon-section');
parent_div.load($(this).attr('href'), function() {
hideSameSizedIcons();
Expand Down Expand Up @@ -991,8 +991,8 @@ function initCatFields(delegate) {
$("input", $main).attr("checked", false).attr("disabled", false);
};
checkMainDefault();
$('input', $main).on('change', checkMain);
$('input', $misc).on('change', checkOther);
$('input', $main).live('change', checkMain);
$('input', $misc).live('change', checkOther);
});
}

Expand Down

0 comments on commit 84422ef

Please sign in to comment.