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 | 545 | content_tag( 'span', h(name), :class => ( profile.class == Person ? 'fn' : 'org' ) ) + |
546 | 546 | city + extra_info + profile_sex_icon( profile ) + profile_cat_icons( profile ), |
547 | 547 | profile.url, |
548 | - :onclick => 'document.location.href = this.href', # work-arround for ie. | |
549 | 548 | :class => 'profile_link url', |
550 | 549 | :help => _('Click on this icon to go to the <b>%s</b>\'s home page') % profile.name, |
551 | 550 | :title => profile.name ), |
... | ... | @@ -565,7 +564,6 @@ module ApplicationHelper |
565 | 564 | content_tag( 'span', name, :class => 'org' ) + |
566 | 565 | content_tag( 'span', n_('1 member', '%s members', profile.members.count) % profile.members.count, :class => 'community-member-count' ), |
567 | 566 | profile.url, |
568 | - :onclick => 'document.location.href = this.href', # work-arround for ie. | |
569 | 567 | :class => 'profile_link url', |
570 | 568 | :help => _('Click on this icon to go to the <b>%s</b>\'s home page') % profile.name, |
571 | 569 | :title => profile.name ) + | ... | ... |
public/javascripts/application.js