diff --git a/app/assets/javascripts/site/videos.js b/app/assets/javascripts/site/videos.js index ab60382..26d5422 100644 --- a/app/assets/javascripts/site/videos.js +++ b/app/assets/javascripts/site/videos.js @@ -36,15 +36,11 @@ $(function(){ $("#url").hide(); $("#legend").hide(); - $("#link_cc").click(function(){ - $("#url").show('slow'); - $("#legend").hide('slow'); - }); $("#link_recognize").click(function(){ $("#url").show('slow'); $("#legend").hide('slow'); - }); + }).click(); $("#link_normal").click(function(){ $("#url").show('slow'); diff --git a/app/views/videos/_form.html.haml b/app/views/videos/_form.html.haml index 89b78e6..e5080ab 100644 --- a/app/views/videos/_form.html.haml +++ b/app/views/videos/_form.html.haml @@ -13,9 +13,6 @@ .field = label_tag :choice, t('videos.video_type'), :class => 'bold' %label.radio - = f.radio_button :closed_caption, '1', :id => "link_cc" - Closed Caption (legenda embutida) - %label.radio = f.radio_button :closed_caption, '3', :id => "link_recognize" Voz %label.radio -- libgit2 0.21.2