Skip to content

Commit

Permalink
Removal of function in order to avoid slow redirection when clicking …
Browse files Browse the repository at this point in the history
…'see all' announcements - #5
  • Loading branch information
Raul-vlb committed Nov 22, 2021
1 parent 15ecbb6 commit 5d5e2c8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions themes/its-rio/assets/js6/its.js
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ new Vue({
// });
// });

$('.comunicados h2 > a').click(function() {
/* $('.comunicados h2 > a').click(function() {
if ($(this).text().indexOf("ver") > -1) {
$('.content-area:not(.comunicados)').hide();
$(this).text('voltar para institucional');
Expand All @@ -283,7 +283,7 @@ new Vue({
$('.related-post .large-4:gt(2)').hide();
$(this).text('ver todos');
}
});
}); */

var menu = $('.header-single-menu');
var top = (typeof menu.position() != "undefined") ? menu.position().top : 0;
Expand Down

0 comments on commit 5d5e2c8

Please sign in to comment.