Commit 509d02d6eed69191ada0c716bb6d058ad772d57e
1 parent
fb942f86
Exists in
master
and in
22 other branches
Fixing "link to this page" feature.
For some weird reason it is not working on IE. (ActionItem1711)
Showing
2 changed files
with
8 additions
and
8 deletions
Show diff stats
app/views/shared/noosfero_layout_features.rhtml
public/javascripts/application.js
| ... | ... | @@ -576,3 +576,11 @@ function limited_text_area(textid, limit) { |
| 576 | 576 | return true; |
| 577 | 577 | } |
| 578 | 578 | } |
| 579 | + | |
| 580 | +jQuery(function($) { | |
| 581 | + $('a').each(function() { | |
| 582 | + if (this.href == document.location.href) { | |
| 583 | + $(this).addClass('link-this-page'); | |
| 584 | + } | |
| 585 | + }); | |
| 586 | +}); | ... | ... |