diff --git a/app/assets/javascripts/application.js.erb b/app/assets/javascripts/application.js.erb index 8dd1a48ec3..5f77e2916f 100644 --- a/app/assets/javascripts/application.js.erb +++ b/app/assets/javascripts/application.js.erb @@ -126,7 +126,7 @@ jQuery(document).ready(function ($) { $.datepicker.setDefaults(defaults); } - $('#show_more_wp_properties').live('click', function(el){ + $(document).on('click', '#show_more_wp_properties', function(el){ $(this).find('.icon').toggleClass('icon-arrow-right6-3 icon-arrow-right6-1'); Effect.toggle("work_package_descr_fields", "appear", {duration:0.3}); enable_textarea_auto_completion(jQuery("#work_package_description"));