Commit 51f4852726fd6478a2f86744585da5c7de32f54d

Authored by Victor Costa
1 parent 1591c8c2

Fix theme.js

Showing 1 changed file with 2 additions and 2 deletions   Show diff stats
@@ -22,7 +22,7 @@ function alignBlocks(containerIndex){ @@ -22,7 +22,7 @@ function alignBlocks(containerIndex){
22 } 22 }
23 } 23 }
24 24
25 -(function($) { 25 +jQuery( document ).ready(function( $ ) {
26 // Run code 26 // Run code
27 if($.cookie("high_contrast") === 'true'){ 27 if($.cookie("high_contrast") === 'true'){
28 $( "body" ).toggleClass( "contraste" ); 28 $( "body" ).toggleClass( "contraste" );
@@ -49,4 +49,4 @@ function alignBlocks(containerIndex){ @@ -49,4 +49,4 @@ function alignBlocks(containerIndex){
49 49
50 $('#block-48500 > .block-inner-1 > .block-inner-2').append('<div class="more_button" style="position: absolute; top: 5px; left: 519px;"><div class="view_all"><a href="/portal/blog">Ler todas</a></div></div>'); 50 $('#block-48500 > .block-inner-1 > .block-inner-2').append('<div class="more_button" style="position: absolute; top: 5px; left: 519px;"><div class="view_all"><a href="/portal/blog">Ler todas</a></div></div>');
51 51
52 -})(jQuery); 52 +});