Commit 10218c1d70cd5ca985b519fafca5154f27e79236
1 parent
bec3c316
Exists in
master
and in
29 other branches
Don't fuck with non-IE users
(ActionItem658)
Showing
2 changed files
with
8 additions
and
2 deletions
Show diff stats
app/helpers/application_helper.rb
@@ -545,7 +545,6 @@ module ApplicationHelper | @@ -545,7 +545,6 @@ module ApplicationHelper | ||
545 | content_tag( 'span', h(name), :class => ( profile.class == Person ? 'fn' : 'org' ) ) + | 545 | content_tag( 'span', h(name), :class => ( profile.class == Person ? 'fn' : 'org' ) ) + |
546 | city + extra_info + profile_sex_icon( profile ) + profile_cat_icons( profile ), | 546 | city + extra_info + profile_sex_icon( profile ) + profile_cat_icons( profile ), |
547 | profile.url, | 547 | profile.url, |
548 | - :onclick => 'document.location.href = this.href', # work-arround for ie. | ||
549 | :class => 'profile_link url', | 548 | :class => 'profile_link url', |
550 | :help => _('Click on this icon to go to the <b>%s</b>\'s home page') % profile.name, | 549 | :help => _('Click on this icon to go to the <b>%s</b>\'s home page') % profile.name, |
551 | :title => profile.name ), | 550 | :title => profile.name ), |
@@ -565,7 +564,6 @@ module ApplicationHelper | @@ -565,7 +564,6 @@ module ApplicationHelper | ||
565 | content_tag( 'span', name, :class => 'org' ) + | 564 | content_tag( 'span', name, :class => 'org' ) + |
566 | content_tag( 'span', n_('1 member', '%s members', profile.members.count) % profile.members.count, :class => 'community-member-count' ), | 565 | content_tag( 'span', n_('1 member', '%s members', profile.members.count) % profile.members.count, :class => 'community-member-count' ), |
567 | profile.url, | 566 | profile.url, |
568 | - :onclick => 'document.location.href = this.href', # work-arround for ie. | ||
569 | :class => 'profile_link url', | 567 | :class => 'profile_link url', |
570 | :help => _('Click on this icon to go to the <b>%s</b>\'s home page') % profile.name, | 568 | :help => _('Click on this icon to go to the <b>%s</b>\'s home page') % profile.name, |
571 | :title => profile.name ) + | 569 | :title => profile.name ) + |
public/javascripts/application.js