Commit 74e8bae7620592bdbdee77f18cb3ae8ec1c922c4
Committed by
gtaaas
1 parent
f6e5d7a4
Exists in
devel
Remove CC do Rápido VLibras
Showing
2 changed files
with
1 additions
and
8 deletions
Show diff stats
app/assets/javascripts/site/videos.js
| ... | ... | @@ -36,15 +36,11 @@ $(function(){ |
| 36 | 36 | |
| 37 | 37 | $("#url").hide(); |
| 38 | 38 | $("#legend").hide(); |
| 39 | - $("#link_cc").click(function(){ | |
| 40 | - $("#url").show('slow'); | |
| 41 | - $("#legend").hide('slow'); | |
| 42 | - }); | |
| 43 | 39 | |
| 44 | 40 | $("#link_recognize").click(function(){ |
| 45 | 41 | $("#url").show('slow'); |
| 46 | 42 | $("#legend").hide('slow'); |
| 47 | - }); | |
| 43 | + }).click(); | |
| 48 | 44 | |
| 49 | 45 | $("#link_normal").click(function(){ |
| 50 | 46 | $("#url").show('slow'); | ... | ... |
app/views/videos/_form.html.haml
| ... | ... | @@ -13,9 +13,6 @@ |
| 13 | 13 | .field |
| 14 | 14 | = label_tag :choice, t('videos.video_type'), :class => 'bold' |
| 15 | 15 | %label.radio |
| 16 | - = f.radio_button :closed_caption, '1', :id => "link_cc" | |
| 17 | - Closed Caption (legenda embutida) | |
| 18 | - %label.radio | |
| 19 | 16 | = f.radio_button :closed_caption, '3', :id => "link_recognize" |
| 20 | 17 | Voz |
| 21 | 18 | %label.radio | ... | ... |