diff --git a/app/views/shared/noosfero_layout_features.rhtml b/app/views/shared/noosfero_layout_features.rhtml index 2cb7ccd..f12fb02 100644 --- a/app/views/shared/noosfero_layout_features.rhtml +++ b/app/views/shared/noosfero_layout_features.rhtml @@ -1,11 +1,3 @@ <% if is_testing_theme %> <%= render :file => 'shared/theme_test_panel' %> <% end %> - - diff --git a/public/javascripts/application.js b/public/javascripts/application.js index c614f08..96e634a 100644 --- a/public/javascripts/application.js +++ b/public/javascripts/application.js @@ -576,3 +576,11 @@ function limited_text_area(textid, limit) { return true; } } + +jQuery(function($) { + $('a').each(function() { + if (this.href == document.location.href) { + $(this).addClass('link-this-page'); + } + }); +}); -- libgit2 0.21.2