Removed redundant selector from JS

This commit is contained in:
Sarven Capadisli 2009-06-26 15:10:04 +00:00
parent bb04f68e93
commit 9fc8ad4531

View File

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