app/assets/javascripts/social_stream.wall.js.erb in social_stream-base-0.24.0 vs app/assets/javascripts/social_stream.wall.js.erb in social_stream-base-0.24.1

- old
+ new

@@ -32,10 +32,10 @@ var initFormSelector = function(){ $('.activity_form_selector').click(function(){ $('.activity_form_selector').removeClass('selected'); $(this).addClass('selected'); $('#wrapper_activities_header form').hide(); - $('#new_'+this.id.split("_")[1]).show(); + $('#' + this.id.replace(/^select/, 'new')).show(); }); } var changeSecurityImage = function(type) { $('#security_chzn .chzn-choices').