fix bug for untranslated levels

This commit is contained in:
Peter Cottle 2013-03-24 14:39:17 -07:00
parent 678e49c864
commit 66da06b8ea
6 changed files with 6 additions and 6 deletions

View file

@ -5335,7 +5335,7 @@ var getStartDialog = exports.getStartDialog = function(level) {
}
};
var startCopy = _.clone(
level.startDialog[util.getDefaultLocale()] || level.startDialog
level.startDialog[getDefaultLocale()] || level.startDialog
);
startCopy.childViews.unshift(errorAlert);
@ -24224,7 +24224,7 @@ var getStartDialog = exports.getStartDialog = function(level) {
}
};
var startCopy = _.clone(
level.startDialog[util.getDefaultLocale()] || level.startDialog
level.startDialog[getDefaultLocale()] || level.startDialog
);
startCopy.childViews.unshift(errorAlert);

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

2
build/bundle.min.js vendored

File diff suppressed because one or more lines are too long

View file

@ -426,7 +426,7 @@
For a much easier time perusing the source, see the individual files at:
https://github.com/pcottle/learnGitBranching
-->
<script src="build/bundle.min.8a96eb7a.js"></script>
<script src="build/bundle.min.0f8af3f2.js"></script>
<!-- The advantage of github pages: super-easy, simple, slick static hostic.
The downside? No raw logs to parse for analytics, so I have to include

View file

@ -98,7 +98,7 @@ var getStartDialog = exports.getStartDialog = function(level) {
}
};
var startCopy = _.clone(
level.startDialog[util.getDefaultLocale()] || level.startDialog
level.startDialog[getDefaultLocale()] || level.startDialog
);
startCopy.childViews.unshift(errorAlert);