Fix challengeTypes object incorrect key names
This commit is contained in:
@ -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:
|
||||||
|
Reference in New Issue
Block a user