Fixed array index

This commit is contained in:
Sarven Capadisli 2009-05-19 17:31:43 +00:00
parent 0c442e459e
commit 09e95cc33f
1 changed files with 5 additions and 5 deletions

View File

@ -7,19 +7,19 @@ $(document).ready(function() {
UpdateSwatch(S);
switch (parseInt(f.linked.id.slice(-1))) {
case 1: default:
case 0: default:
$('body').css({'background-color':C});
break;
case 2:
case 1:
$('#content').css({'background-color':C});
break;
case 3:
case 2:
$('#aside_primary').css({'background-color':C});
break;
case 4:
case 3:
$('body').css({'color':C});
break;
case 5:
case 4:
$('a').css({'color':C});
break;
}