diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index 21e10c96..73a9cf9c 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -108,7 +108,6 @@ module ApplicationHelper JAVASCRIPT_LIBRARIES = { :jquery => 'https://ajax.googleapis.com/ajax/libs/jquery/1.4.3/jquery.min.js', - :jquery20 => 'https://ajax.googleapis.com/ajax/libs/jquery/2.0.3/jquery.min.js', :jquery_tmpl => 'https://ajax.microsoft.com/ajax/jquery.templates/beta1/jquery.tmpl.min.js', } diff --git a/app/views/outfits/new.html.haml b/app/views/outfits/new.html.haml index 5f915c00..1ed13e6f 100644 --- a/app/views/outfits/new.html.haml +++ b/app/views/outfits/new.html.haml @@ -123,7 +123,7 @@ = t '.preview.pet_not_found' - content_for :javascripts do - = include_javascript_libraries :jquery20, :jquery_tmpl + = include_javascript_libraries :jquery, :jquery_tmpl = javascript_include_tag 'ajax_auth', 'lib/jquery.timeago', defer: true - content_for :javascripts_body do