Commit e9c4b1470e473882579bc142e6fed62165477434

Authored by Ábner Silva de Oliveira
1 parent 6c2e09e1

fixing bug in high contrast

Showing 2 changed files with 3 additions and 8 deletions   Show diff stats
1 -<script type='text/javascript'>  
2 -(function($) {  
3 - if($.cookie("high_contrast") === 'true'){  
4 - $( "body" ).toggleClass( "contraste" );  
5 - }  
6 -})(jQuery);  
7 -</script>  
8 <div id="barra-brasil"> 1 <div id="barra-brasil">
9 <a href="http://brasil.gov.br" style="background:#7F7F7F; height: 20px; padding:4px 0 4px 10px; display: block; font-family:sans,sans-serif; text-decoration:none; color:white; ">Portal do Governo Brasileiro</a> 2 <a href="http://brasil.gov.br" style="background:#7F7F7F; height: 20px; padding:4px 0 4px 10px; display: block; font-family:sans,sans-serif; text-decoration:none; color:white; ">Portal do Governo Brasileiro</a>
10 </div> 3 </div>
1 (function($) { 1 (function($) {
2 - 2 + if($.cookie("high_contrast") === 'true'){
  3 + $( "body" ).toggleClass( "contraste" );
  4 + }
3 // Run code 5 // Run code
4 $( "#siteaction-contraste a" ).click(function() { 6 $( "#siteaction-contraste a" ).click(function() {
5 $( "body" ).toggleClass( "contraste" ); 7 $( "body" ).toggleClass( "contraste" );