diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index b71f199..398a523 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -545,7 +545,6 @@ module ApplicationHelper content_tag( 'span', h(name), :class => ( profile.class == Person ? 'fn' : 'org' ) ) + city + extra_info + profile_sex_icon( profile ) + profile_cat_icons( profile ), profile.url, - :onclick => 'document.location.href = this.href', # work-arround for ie. :class => 'profile_link url', :help => _('Click on this icon to go to the %s\'s home page') % profile.name, :title => profile.name ), @@ -565,7 +564,6 @@ module ApplicationHelper content_tag( 'span', name, :class => 'org' ) + content_tag( 'span', n_('1 member', '%s members', profile.members.count) % profile.members.count, :class => 'community-member-count' ), profile.url, - :onclick => 'document.location.href = this.href', # work-arround for ie. :class => 'profile_link url', :help => _('Click on this icon to go to the %s\'s home page') % profile.name, :title => profile.name ) + diff --git a/public/javascripts/application.js b/public/javascripts/application.js index b3ad80f..805ceac 100644 --- a/public/javascripts/application.js +++ b/public/javascripts/application.js @@ -641,3 +641,11 @@ jQuery(function($) { } }); }); + +jQuery(function($) { + if ($.browser.msie) { + $('.profile_link').click(function() { + document.location.href = this.href; + }) + } +}); -- libgit2 0.21.2