Merge pull request #4810 from bugron/fix/incorrect-challengeTypes

Fixes challengeTypes object's incorrect key names
This commit is contained in:
Logan Tegman
2015-11-30 07:59:20 -08:00

View File

@ -21,11 +21,11 @@ window.common = (function({ common = { init: [] } }) {
) { ) {
var type; var type;
switch (common.challengeType) { switch (common.challengeType) {
case common.challengeTypes.html: case common.challengeTypes.HTML:
type = 'html'; type = 'html';
break; break;
case common.challengeTypes.js: case common.challengeTypes.JS:
case common.challengeTypes.bonfire: case common.challengeTypes.BONFIRE:
type = 'javascript'; type = 'javascript';
break; break;
default: default: