crowdfavorite/wp-post-formats — Issue #19: Switching Tabs from Audio to Video
Author: alexmansfield
Created: 2012-03-01 05:51:22+00:00
State: open

When switching from the audio tab to the video tab, the audio URL input box remains visible. Adding #cfpf-format-audio-fields to the line of elements to hide (line 67) seemed to take care of the problem.

```javascript
video: function() {
$('#cfpf-format-link-url, #cfpf-format-quote-fields, #cfpf-format-gallery-preview, #cfpf-format-audio-fields').hide();
$('#titlewrap, #cfpf-format-video-fields').show();
$('#postimagediv-placeholder').replaceWith($('#postimagediv'));
},
```