Skip to content

Commit efd6f02

Browse files
author
Hanbyul Jo
authored
Merge pull request #398 from mapzen/hanb/attr-fix
made apikeycheck instance always to return option object (even if it is empty)
2 parents b375e99 + 36bff57 commit efd6f02

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/js/components/apiKeyCheck.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ var getKeyAndOptions = function (_key, _options) {
3535
options = _key;
3636
} else {
3737
key = _key;
38-
options = _options;
38+
options = _options || options;
3939
}
4040
return {
4141
key: key,

0 commit comments

Comments
 (0)