puzzle hotfixes
This commit is contained in:
parent
c97bd2100c
commit
82311d5a1f
|
@ -126,7 +126,7 @@
|
|||
opacity: 0.5;
|
||||
text-shadow: none !important;
|
||||
}
|
||||
div.cg-board {
|
||||
#puzzle div.cg-board {
|
||||
width: 512px;
|
||||
height: 512px;
|
||||
}
|
||||
|
|
|
@ -13,6 +13,8 @@ module.exports = function(cfg) {
|
|||
chess: chess.make(cfg.puzzle.fen)
|
||||
};
|
||||
|
||||
if (cfg.user) cfg.user.history = cfg.user.history || [];
|
||||
|
||||
merge(data, cfg);
|
||||
|
||||
data.puzzle.initialMove = puzzle.str2move(data.puzzle.initialMove);
|
||||
|
|
Loading…
Reference in a new issue