diff options
author | Laurent Bernabe <laurent.bernabe@gmail.com> | 2014-01-27 19:07:50 (GMT) |
---|---|---|
committer | Laurent Bernabe <laurent.bernabe@gmail.com> | 2014-01-27 19:07:50 (GMT) |
commit | 8666d0969aac6b715fc69fa971f26fb9398d2c58 (patch) | |
tree | 9912427b6b2d2a4c357fd4e0e199f2c7d66fc927 | |
parent | b5919e68564e4bdd840c802e404051ffc9ccab49 (diff) |
Fixed an inversion on the cell colors.
-rw-r--r-- | js/activity.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/activity.js b/js/activity.js index d8ec8f2..50118f1 100644 --- a/js/activity.js +++ b/js/activity.js @@ -99,7 +99,7 @@ define(function (require) { for (var rank = 0; rank < 8; rank++){ for (var file = 0; file < 8; file++){ var color; - if ((rank+file) % 2 === 0) color = "#FFDB58"; + if ((rank+file) % 2 !== 0) color = "#FFDB58"; else color = "#6F4E37"; var pos = getCellPos(file, rank); |