summaryrefslogtreecommitdiff
path: root/js/farbtastic
diff options
context:
space:
mode:
authorSarven Capadisli <csarven@controlyourself.ca>2009-05-19 17:31:43 +0000
committerSarven Capadisli <csarven@controlyourself.ca>2009-05-19 17:31:43 +0000
commit09e95cc33fb2228066d524e399bcc549e85eb565 (patch)
treeefb11a3b7aee0a40128e96164d64648bdb7e497d /js/farbtastic
parent0c442e459e42b5d5aa168f7e2d3a0ff9f6bb0cd5 (diff)
Fixed array index
Diffstat (limited to 'js/farbtastic')
-rw-r--r--js/farbtastic/farbtastic.go.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/js/farbtastic/farbtastic.go.js b/js/farbtastic/farbtastic.go.js
index 77e213513..e298c1dab 100644
--- a/js/farbtastic/farbtastic.go.js
+++ b/js/farbtastic/farbtastic.go.js
@@ -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;
}