From e9c4b1470e473882579bc142e6fed62165477434 Mon Sep 17 00:00:00 2001 From: Ábner Silva de Oliveira Date: Wed, 12 Feb 2014 18:47:30 -0300 Subject: [PATCH] fixing bug in high contrast --- header.rhtml | 7 ------- theme.js | 4 +++- 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/header.rhtml b/header.rhtml index 087553f..63d6f3f 100644 --- a/header.rhtml +++ b/header.rhtml @@ -1,10 +1,3 @@ -
Portal do Governo Brasileiro
diff --git a/theme.js b/theme.js index 35a98b3..6127f5f 100644 --- a/theme.js +++ b/theme.js @@ -1,5 +1,7 @@ (function($) { - + if($.cookie("high_contrast") === 'true'){ + $( "body" ).toggleClass( "contraste" ); + } // Run code $( "#siteaction-contraste a" ).click(function() { $( "body" ).toggleClass( "contraste" ); -- libgit2 0.21.2