Commit eb8c1f8c3f58996c07f422490953cb8c040a4ed8
1 parent
9a181851
Exists in
master
and in
2 other branches
fix contrast
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
theme.js
... | ... | @@ -22,7 +22,7 @@ function alignBlocks(containerIndex){ |
22 | 22 | } |
23 | 23 | } |
24 | 24 | |
25 | -(function($) { | |
25 | +jQuery( document ).ready(function( $ ) { | |
26 | 26 | // Run code |
27 | 27 | if($.cookie("high_contrast") === 'true'){ |
28 | 28 | $( "body" ).toggleClass( "contraste" ); |
... | ... | @@ -49,7 +49,7 @@ function alignBlocks(containerIndex){ |
49 | 49 | |
50 | 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 | +}); | |
53 | 53 | |
54 | 54 | // Aplicar class para fixar o menu #user ao topo |
55 | 55 | jQuery("document").ready(function($){ | ... | ... |