udpated JS based on feedback

This commit is contained in:
James Lopez 2016-07-14 16:14:30 +02:00
parent e2d6521d97
commit 001c9aa313

View file

@ -157,9 +157,6 @@
}); });
$('.import_git').click(function( event ) { $('.import_git').click(function( event ) {
if($('#project_import_url').attr('disabled')) { $projectImportUrl = $('#project_import_url')
$('#project_import_url').attr('disabled', false); $projectImportUrl.attr('disabled', !$projectImportUrl.attr('disabled'))
} else {
$('#project_import_url').attr('disabled', true);
}
}); });