Някой може ли да помогне къде ми е грешката тук
<script>
$(function() {
var hide;
$('input[name="o1"]').on('click', function () {
var that = this;
hide = $(this).val() === 'sell' ? '.buy' ? '.transport' : '.transport' : '.sell' ;
$(hide).fadeOut('slow', function () {
$('.' + $(that).val()).fadeIn('slow');
});
});
});
</script>
<script>
$(function() {
var hide;
$('input[name="o1"]').on('click', function () {
var that = this;
hide = $(this).val() === 'sell' ? '.buy' ? '.transport' : '.transport' : '.sell' ;
$(hide).fadeOut('slow', function () {
$('.' + $(that).val()).fadeIn('slow');
});
});
});
</script>