]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Connects html, body and content, navigation background colors
authorSarven Capadisli <csarven@controlyourself.ca>
Tue, 16 Jun 2009 06:24:29 +0000 (06:24 +0000)
committerSarven Capadisli <csarven@controlyourself.ca>
Tue, 16 Jun 2009 06:24:29 +0000 (06:24 +0000)
js/farbtastic/farbtastic.go.js

index 2f202ced1f95e530cf463e979e9ba4f266784bdc..9bf74082594a4270eb490dab201e03d26878b572 100644 (file)
@@ -11,10 +11,10 @@ $(document).ready(function() {
         C = $(S).val();
         switch (parseInt(S.id.slice(-1))) {
             case 1: default:
-                $('body').css({'background-color':C});
+                $('html, body').css({'background-color':C});
                 break;
             case 2:
-                $('#content').css({'background-color':C});
+                $('#content, #site_nav_local_views .current a').css({'background-color':C});
                 break;
             case 3:
                 $('#aside_primary').css({'background-color':C});