mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-08-17 00:00:59 +02:00
fix #1204
This commit is contained in:
parent
a83e995752
commit
b3d0004427
1 changed files with 3 additions and 0 deletions
|
@ -187,6 +187,9 @@ AppConstants.StoreSubscribePrototype,
|
||||||
|
|
||||||
isLevelSolved: function(levelID) {
|
isLevelSolved: function(levelID) {
|
||||||
var levelData = _solvedMap[levelID];
|
var levelData = _solvedMap[levelID];
|
||||||
|
if (levelData === true) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
return levelData ? levelData.solved === true : false;
|
return levelData ? levelData.solved === true : false;
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue